On Sun, May 29, 2005 at 01:58:00PM -0500, Damian Menscher said:
> I'm not certain the MAILTO construct will work to send the output of 
> different commands to different users, or if it's set for the entire 
> crontab.  (It will probably work, I just haven't tried it personally.)

The following format is valid here:

MAILTO=steve
@reboot /home/steve/bin/foo.sh
MAILTO=root
* * * * * /usr/local/bin/do_something
MAILTO="[EMAIL PROTECTED]"
*/15 * * * * /usr/local/bin/do_something_else

most vixie cron clones _should_ support this, but I am not sure they all
do.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Old soldiers never die.  Young ones do. |
|  [EMAIL PROTECTED]             |                                         |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpABDXjlBHW9.pgp
Description: PGP signature

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to