[H-GEN] Cron Jobs and Logs
Robert Stanford
rob at rotapile.com
Tue Feb 17 07:16:51 EST 2004
Hi Rick,
Can you show us the line or script your are running from cron please.
a typical line to pipe output from a command would run like.
0 0 * * * root /bin/command -option 1 | mail -s "thingy" user at host.com
This is in the case of /bin/command producing some useful output and the
user user at host.com not being aliased to root.
If you have root aliased to the user at host via your mta then you can just do
0 0 * * * root /bin/command -option 1
And of course it does not necessarli need to run as root.
Hope this helps.
--
¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤
Robert Stanford
º¤º°`°º¤ø,¸¸,ø¤º°`°º¤º
More information about the General
mailing list