Re: Q: How to Set up A Daily E-Mail Reminder?

From: Heiner Steven (heiner.steven_at_nexgo.de)
Date: 04/25/05


Date: Mon, 25 Apr 2005 21:31:46 +0200

qquito wrote:

> I use a Sun Microsystems UNIX machine, and I am trying to use the
> at-job to let the machine send myself an e-mail message on a daily
> basis to remind myself of something.
>
> I know some basics of shell script, but I don't know how to put the
> task of "sending an e-mail to myself (or anybody for that matter)" into
> a shell script.

If you set up your script to be run via "crontab", you can just
let the script write to standard output. "cron" automatically
sends all output generated by programs started from "crontab"
to the owner of the "crontab" - which could be you.

Heiner

-- 
  ___ _
/ __| |_ _____ _____ _ _     Heiner STEVEN <heiner.steven@nexgo.de>
\__ \  _/ -_) V / -_) ' \    Shell Script Programmers: visit
|___/\__\___|\_/\___|_||_|   http://www.shelldorado.com/


Relevant Pages

  • Re: Terminal type and Cron
    ... |>>I added a new task in the Crontab scheduler and everytime it runs I ... |>>The task is a shell script I wrote that runs a report generator to ... |>The usual way is to set it in a shell script executed by cron: ... |>One way to make sure you get a realistic set of environment variables is to ...
    (comp.unix.sco.misc)
  • Re: /etc/crontab does not exist but Leopard now runs cronjob
    ... Archive and Install. ...  My cronjobs, as I expected, stopped running. ... You didn't mention anything about a shell script in ~/bin when you asked ... Someone else has already asked about crontab -l. ...
    (comp.sys.mac.system)
  • Speed Up Google Analytics
    ... Speed Up Google Analytics ... Setup crontab by typing ... Shell script example: ...
    (alt.internet.search-engines)
  • Re: How to insert command in crontab using shell
    ... > How do insert command in crontab .For example ... > I want to write a shell script that will able to insert data in cron. ... Please, read the man page, notice these funny lines oddly scattered ... Now, believe me, you don't really want to modify your crontab ...
    (comp.unix.shell)
  • Re: Help in Crontab Shell Script?
    ... I wanted to write a shell script with Crontab & cron. ... command and read up on the meaning of the various ...
    (comp.os.linux.misc)