Darryl Hein Darryl Hein - 1 year ago 96
Linux Question

How would I get a cron job to run every 30 minutes?

I'm looking to add a

entry to execute a script every 30 minutes, on the hour and 30 minutes past the hour or something close. I have the following, but it doesn't seem to run on 0.

*/30 * * * *

What string do I need to use?

The cron is running on OSX.

Answer Source


0,30 * * * * your_command
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download