Search code examples
cronazure-functions

CRON expression every minute between 13:30 to 20:00 Monday to Friday


I am trying to create a CRON expression for Azure Function to run between 13:30 to 20:00 from Monday to Friday. Following is my expression

0 30/1 13-20 * * 1-5

But it executes from 30-59 minutes past hour every hour between 13 to 20 hours. I want it to start from 13:30 then every minute till 20:00. Can anybody guide me ion how to fix the problem?


Solution

  • You will need to do this in two separate lines, one for the 30 minutes between 13:30 - 13:59 and a second for every minute between 14:00 - 20:00.

    30-59 13 * * 1-5

    * 14-19 * * 1-5