gary_woods

Registered
Apr 29, 2016
1
0
1
Online
cPanel Access Level
Root Administrator
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.
 

deadlock

Well-Known Member
May 12, 2002
58
0
306
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 * * * *
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

Keith Damron

Member
May 10, 2019
6
2
3
Illinois
cPanel Access Level
Root Administrator
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.