Date: Fri, 23 Feb 2001 21:24:23 -0800 From: rsowders@usgs.gov To: Kalai Kalaiarasi <kalaiarasi@yahoo.com> Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@FreeBSD.ORG Subject: Re: crontab for root Message-ID: <OFE6F12000.47F89EC7-ON882569FD.001C9854@wr.usgs.gov>
index | next in thread | raw e-mail
The /etc/crontab is referred to as the system crontab. Root's crontab,
edited with crontab -e is for the SysAdmin to use. All crontabs run in
/bin/sh. Make sure your jobs execute from the command line by entering
/bin/sh first then try your job. Use full pathnames or point to scripts
with full pathnames. It is a good idea to leave the /etc/crontab alone
and use crontab -e as root because subsequent upgrades to the /etc/crontab
will not effect you. more /var/log/cron to see if your job kicked off. By
default mail is sent to the owner of the crontab file if there is any
output from your job unless you specify other wise in the crontab with a
mail to statement or a /dev/null. If you are running cron jobs as root
check mail for root to see errors from cron jobs.
For more indepth study.
man crontab
man 5 crontab
man cron
Kalai Kalaiarasi <kalaiarasi@yahoo.com>
Sent by: owner-freebsd-questions@FreeBSD.ORG
02/23/2001 06:52 PM
To: freebsd-questions@freebsd.org
cc:
Subject: crontab for root
Hi,
Does anyone knows how to set crontab for root? I am
able to set the crontab for normal user and it's
working fine. When i try set crontab for root, the
shell script doesnt seem to run. Is there anything
else i need to do?? Please do help me....
Please reply to this email add, i am not subscribed to
the mailing list.
Regards,
Kalai
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFE6F12000.47F89EC7-ON882569FD.001C9854>
