Cron Job minutes error
I found an issue adding a cron job.
To run every 10 minutes starting at 5 past every hour, I want to use:
5/10 * * * *
But this gives me an error, "bad minute".
It works fine with:
*/10 * * * *
But it should be possible to choose when you want the cron to start running of the hour. Clearly a bug. Is there a fix for this? Please let me know if you need any further clarification.
-
Your cron job will not work as you're suggesting and it's not a bug, it's your syntax error. This will achieve what you want: 5,15,25,35,45,55 * * * * 0 -
Hello, It's not currently possible to utilize proceeding slashes to declare intervals in the user interface when adding cron jobs. Feel free to open a feature request for this at: Submit A Feature Request In addition, you may also find interest in the following feature request: Cron limits Thank you. 0 -
Hello, It's not currently possible to utilize proceeding slashes to declare intervals in the user interface when adding cron jobs. Feel free to open a feature request for this at: Submit A Feature Request In addition, you may also find interest in the following feature request: Cron limits Thank you.
Did this feature request ever get opened? This was 6 years ago and the inability to accept a standardized syntax is a pain.0 -
@Keith Damron - I'm not finding one, so feel free to submit one using the link in my signature and I can bring it up with the team next week! 0
Please sign in to leave a comment.
Comments
4 comments