put the full path 0 0 * * * /usr/local/bin/bkup.cron
Also, check your mail. Cron should have complained.
dlangschied wrote:
Hi all! I am trying for the first time to run a script from cron. I made the following entry:
0 0 * * * bkup.cron
The script, bkup.cron, is located in /usr/local/bin. The crontab file, root, is located in /var/spool/cron/crontabs. To initiate this in cron I entered the following command:
crontab /var/spool/cron/crontabs/root
Needless to say, at 12:00 AM, this process did not run. The script, bkup.cron does run from the command line. Any help would be greatly appreciated.
Sincerely,
David Langschied Langschied Consulting Services 25644 Mackinac Roseville, MI 48066
Phone: (586)777-7542 Cell: (248)789-8493 e-mail: [EMAIL PROTECTED]
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list