My cronjob is being repeated every 15 minutes and I don't have any idea why.
Here is the crontab file with real commands replaced:
# m h dom mon dow command
# Comment
0 9 * * * command arg1
0 14 * * * command arg1
0 19 * * * command arg1
0 1 * * * command arg1
#0 19 * * * command arg1
#0 22 * * * command arg1
I modified crontab and restarted the server. Everything started as expected. But it kept repeating the command every 15 min. My command is a sh script which uses wget to start web service.
I have a feeling that crontab repeats failed command after 15 minutes (wget fails most of the time because web service requires more than 1 minute to execute). Am I right? And how can this be fixed?