[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] simple crontab problem?
- Subject: [cobalt-users] simple crontab problem?
- From: "cbtrussell" <cbtrussell@xxxxxxxxxxx>
- Date: Mon Feb 10 22:13:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I have added a line to root's crontab:
1 * * * * /home/sites/site4/web/dir/script_name
/home/sites/site4/web/dir/config.xml FATAL
/home/sites/site4/web/dir/script.log
and it shows up like it's supposed to:
[root log]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.3357 installed on Tue Feb 11 00:51:02 2003)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
45 3 * * * /home/security/logcheck/logcheck.sh >/dev/null
2 23 * * * /home/security/chkrootkit/check.sh
1 * * * * /home/sites/site4/web/dir/script_name
/home/sites/site4/web/dir/config.xml FATAL
/home/sites/site4/web/dir/script.log
but it doesn't run via cron. It never shows up in /var/log/cron
Going to the command line and running:
/home/sites/site4/web/dir/script_name /home/sites/site4/web/dir/config.xml
FATAL /home/sites/site4/web/dir/script.log
works perfectly. Any ideas? I know I must be doing something stupid.
Thanks!
Brandon