[wplug] crontab notification

jjlasalle jjlasalle at home.com
Sun Mar 25 09:01:09 EST 2001


Once Rob gave me the idea to create a different alias for each job, I was 
home free. Your idea was great. My final solutions was a crontab line that 
looks like this:

0 1 * * 5 cron_job_to_run | mail -s"Cron Report" tapeoperator

Thanks.

At 09:24 AM 3/24/01 -0500, you wrote:
>On Sat, 24 Mar 2001, jjlasalle wrote:
>
> > Is it possible to have crontab email it's activities to more than one
> > user.  For example, crontab notifies me when it runs my tape backups. I'd
> > also like it to notifiy the secretary that swaps the tapes on Friday. I
> > don't want to give her a root alias because she would get all the root
> > email and this would only confuse things.
>
>one thing you could consider. if you are using a script to run your backup
>you could include a line at the end of the script that mails the return
>status of the backup to the user. i think you could use the 'mail' command
>to do this.
>
>--
>john
>
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug





More information about the wplug mailing list