Cron does not work 2003-11-13 - By Mike Kercher
Back Are you sure your box hasn't been compromised?
__ ____ ____ ____ ____ ____ ____
From: valhalla-list-admin@(protected) [mailto:valhalla-list-admin@(protected)] On Behalf Of James Ho Sent: Wednesday, November 12, 2003 10:42 PM To: valhalla-list@(protected) Subject: Re: Cron does not work yep, I used crontab -e. It doesn't work. Is it because the crond daemon has failed? When I check using ps -ef | grep crond, I find that the daemon is still running.
-- -- Original Message -- -- From: mark_denni@(protected) To: valhalla-list@(protected) Sent: Thursday, November 13, 2003 12:16 PM Subject: RE: Cron does not work
-- --Original Message-- -- From: James Ho [mailto:james.ho@(protected)] Sent: Wednesday, November 12, 2003 6:07 PM To: valhalla-list@(protected) Subject: Cron does not work I have a problem, I have set up a task as a cronjob but it only works when I restart the crond daemon in the /etc/rc.d/init.d/ directory. The statement is: * * * * * echo "Hello" >> /tmp/test.txt When I restart crond, this works perfectly. But when I change that statement to: * * * * * echo "New Test" >> /tmp/test.txt the cron does not read this new statement and continues executing the old statement. Any help is appreciated. Thanks. James - Are you using crontab -e to change the statement? That should work. But if you simply change the file with a text editor, you will see the behavior your are talking about. - Mark [DENNI,MARK (A-Americas,ex1)]
|
|