Hi all,
I am trying to run a job through cron in RHEL 4. The job runs fine for the
first time but after the 1st run when the time is changed in crontab, the
job fails to run .
For example , if i run a
pwd >> /home/gopi/output.txt
through crontab at 10 am and 10 mins ( this being the 1st run ), the command
runs successfully for the first time and the file output.txt contains the
output of the pwd command, but after the 1st run when I change the time 10
am and 15 mins then the command fails to run thru cron . If I test the same
condition in RHEL 3, its working fine.
There is a single line in crontab
10 10 * * * pwd >> /home/gopi/output.txt (during the 1st run)
15 10 * * * pwd >> /home/gopi/output.txt (during the 2nd run)
Can anyone help me out with this Please.... ?
Regards,
Gopi K.