I need to run a cron job every 2 minutes (*/2
) but only for the first 30 minutes of every hour, with pause of 30 minutes between the runs.
For example, something like:
- From 10h00 to 10h30: run every 2 minutes
- From 10h30 to 11h00: nothing to run
- From 11h00 to 11h30: run every 2 minutes
- etc...
How can I achieve this result?