Table of Contents
Last week I blogged about Azure Timer functions. These functions use CRON Expressions to set the timers.
I created this post of a list of some useful and handy CRON Expressions to help me as I try to automate things. This list will grow as I do more work with automating all the things.
A CRON Expression contains six fields.
{second} {minute} {hour} {day} {month} {day-of-week}
"0 */5 * * * *" - Every 5 Minutes.
"0 0 * * * *" - At the top of every hour.
"0 30 8 * * *" - At 8:30 AM every day
"0 30 11 * * 1-5" - At 11:30 AM every week day. (Monday - Friday)
"0 0 9 * * 1" - At 9:00 AM every Monday.
"0 0 9,12,20 * * *" - At 9:00 AM, 12:00 PM, 20:00 PM
"0 0 9-18 * * *" - Every hour between 9:00 AM and 18:00 PM
"0 0 9-18 * * 1-5" - Every hour between 9:00 AM and 18:00 PM every week day. (Monday - Friday)