Dears,
i configured script in crontab to run every 10 minutes and its not working at all. I dont see any entry in configured log path (/var/log/cron)
"*/10 * * * * example_script.sh"
However if i change crontab syntax to following:
"* * * * * example_script.sh"
It executing script every 10 minutes. I see that in configured log path Crond is running, it even has been restarted. No errors in cron log file. example_script.sh is just an example, i have it configured with absolute path. Also it works accordingly with the same crontab configuration but on the other system which serves for the same purpose (just in another network zone)
Why is that happening? Are there any config files allowing to modify crontab syntax itself?
examlpe? – Gerald Schneider Nov 18 '22 at 10:21cronto execute every 10 minutes , it does not execute. Yet when you askcronto execute every minute , it somehow executes every 10 minutes ! I think you are not interpreting the Execution output correctly. Append a line with timestamp to/tmp/mycronloggerin your Script & I am sure you will see that it is working Correctly on time. Still , when that is not working , you can then include the timestamp lines to the Post which will help Debug further. – Prem Nov 18 '22 at 14:45example_script.shwith absolute path and make sure that script is executable. Also make sure crond daemon is running on your system. – Roman Spiak Nov 19 '22 at 09:12