RE: FW: Crontab problems
"Tom Gillon" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the quick reply. Here's the crontab entry: 0 2 * * * /home/webct/webct_backup Here's the contents of the webct_backup file that crontab is calling: cd /home/webct/webct/webct/generic/admin perl admin.pl batch `ls ../../courses/` I don't get an error, it just doesn't complete the backup when run from crontab. It starts the backup process, but ends very early during the process. However, when run from the command line, the admin.pl script works fine. This worked fine in Red Hat 6.2, but since I upgrade to 7.0 (new hard drive, fresh install), it doesn't work. Perhaps there is something in the webct_backup file that is not allowed by the cron process? Thanks, Tom -----Original Message----- From: Taylor, ForrestX [mailto:[email protected]] Sent: Thursday, September 19, 2002 3:49 PM To: [email protected] Subject: Re: FW: Crontab problems Tom Gillon wrote: > Hi, > > I have a perl script that works fine when run alone, but when I put it > in as a crontab entry, it doesn't work correctly and ends prematurely. > Any ideas why this would not work correctly as a crontab entry? My guess is that you don't have the full path to some file. You will have to show us the crontab entry and the errors you get when it runs to get a better guess. Forrest -- _______________________________________________ Guinness-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/guinness-list