I need to build a cron expression to run a job every 10 minutes after the user click on start button.
I\'m trying to do something like:
0 42/10 * * *
I think your format is wrong. The order of the fields is:
So in your example, the Minute is 0, and your Hour is invalid (Hour must be in the range 0-23). I'm guessing cron is ignoring the incorrect Hour, and running on Minute 0 of every hour.
However, if you did want to run every N minutes, you could use a format like (where N is less than 60):
0/N * * * * /bin/echo "Your Command Here"
However, keep in mind that the /N repeats the command every N minutes within the current hour. So, if you have 0/33 in your crontab your command will run at:
Not at: