shary
April 2, 2009, 12:42am
1
Dear Exerts,
I want to schedule a script which could run after every 35 minutes.
please find below the command but it is not woring and running after every 35 minutes.
35 * * * * /opt/home/backup/test_dir/abc.sh > /opt/home/backup/test_dir/abc_cronlog.txt
Please tell me what is the problem in this statement
Thanks
shary:
Dear Exerts,
I want to schedule a script which could run after every 35 minutes.
please find below the command but it is not woring and running after every 35 minutes.
35 * * * * /opt/home/backup/test_dir/abc.sh > /opt/home/backup/test_dir/abc_cronlog.txt
Please tell me what is the problem in this statement
Thanks
Run:
crontab -l and check whether its scheduled successfully
shary
April 2, 2009, 1:25am
3
Hi
It is scheduled successfully but the problem is that the script is not running or executing after 35 minutes.So just have alook that what is wrong in the command.
Regards
does it run well if you run it manually? and have you read this ?
consult cron's log /var/log/cron and check if you could find something
shary
April 2, 2009, 1:57am
5
yes it running mannulay but not running as per my requirement.
can you please provide me the cron job statement which could run every 35 min .?
You already have one. Take a look at the FAQ link provided by Yogesh Sawant.
Ygor
April 2, 2009, 10:07pm
7
I think that it's difficult to schedule a job to run every 35 minutes, unless your cron supports the step ("/") operator.
methyl
April 3, 2009, 8:59am
8
The ">" in the cron will not capture error output.
If the script outputs an error you should see it in the unix mail for the owner of the cron.