• Resolved dark0123

    (@dark0123)


    good morning
    I wanted to know if it is possible to set a cron in a range of hours …
    for example

    I would like to run my job every day from 9:00 am to 11:00 am, every 10 minutes

    thank you so much

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Nope, this isn’t something that WordPress core natively supports. You’d need to schedule an event that runs every 10 minutes and handle the timing logic inside your event callback.

Viewing 1 replies (of 1 total)
  • The topic ‘run my job only in range of hours’ is closed to new replies.