On Mon, May 27, 2002 at 03:51:40PM +0400, madhvi wrote: > Hello , > I added the user root to the crontab file below : - > > 50 13 * * 1 3 5 root /scripts/backup/test.sh > 10 14 * * 1 3 5 root /scripts/backup/twiceweekly.sh > 00 14 * * 1 root /scripts/backup/test1.sh
you have too many arguments, change 1 3 5 to be 1,3,5 > > /var/log/cron showed this : - > May 27 13:50:00 SA01 CROND[12181]: (root) CMD (3 5 root > /scripts/backup/test.sh > ) > May 27 14:00:00 SA01 CROND[12192]: (root) CMD ( /sbin/rmmod -as) > May 27 14:00:00 SA01 CROND[12193]: (root) CMD (root > /scripts/backup/test1.sh) > May 27 14:01:00 SA01 CROND[12197]: (root) CMD (run-parts /etc/cron.hourly) > May 27 14:10:00 SA01 CROND[12207]: (root) CMD ( /sbin/rmmod -as) > May 27 14:10:00 SA01 CROND[12208]: (root) CMD (3 5 root > /scripts/backup/twicew > eekly.sh) crond is looking for a script called "3 5 root /scripts/backup/twiceweekly.sh" If you check the email it will have sent a message saying that the command could not be found. > > However , none of the scripts were executed. > > The scripts look like : - > > cp /terrasky/tsfileserver/Techadmin/timesheet/madhvi > /usr/home/madhvi/timesheet > cp /etc/ftpaccess /terrasky/tslibrary/test/ftpaccess_test > > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list