简体   繁体   中英

Azure web job CRON expression for different time slots for different days

I have azure webjob which is basically timer trigger type. I want to run this webjob different time slots for different days. For example, if I want to run azure webjob for Monday-Friday from 09:00pm to 06:00am following day and if I want to run same webjob for saturday and sunday for entire day. so, can you please let me know the CRON expression for above requirement?

In your requirement, you need to write 2 CRON expressions. CRON expressions cannot be combined, so I think creating two webjobs, each with 2 expressions, can achieve your needs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM