-1

I am using cron and I need to schedule my workflow, so that it runs every day hourly, just except 2 hours from 12 AM until 2 AM. Meaning it needs to run daily from 2 AM and kick off every hour, but just when the clock hits 12 AM it should't run for 2 hours. And then starts back at 2 AM to run every hour. Would appreciate a solution.

akki
  • 39
  • 4

1 Answers1

0

This is a CRON job

0 0 2-23 ? * * *

Description: Job will start at second:00, at the minute:00, every hour between 02 am and 23 pm, of every day

I have found this website useful to create CRON job

Krishna
  • 710
  • 3
  • 17