Can anyone suggest a way to set a Cron trigger to run at half past the hour every hour?
So far, I've got one working hourly as per "0 0/60 * * * ?".
Am I looking at "0 0/30 * * * ?" at all?
Mr Morgan.
*/5 * * * * Execute a cron job every 5 minutes. 0 * * * * Execute a cron job every hour.
I would use 30 * * * *
to run a command half past every hour.
It is worth remembering that in crontab you define a pattern to match the current time against and not an exact time. Every minute crond will awaken and match the current time against your pattern and if there is a match, run your command.
I recommend using http://www.cronmaker.com/ for painless cron expressions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With