Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Cron expression for Amazon Eventbridge

I’m trying to get cron expression to trigger an event at 7:45 UTC on only working days — Monday to Friday.

45 7 * * MON,TUE,WED,THU,FRI *
45 7 * * 1,2,3,4,5 *

Although the above expressions were supposed to work I am getting an Invalid CRON expression error raised on both and so how is the day of the week supposed to be to get it to work on only working days?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It should be:

45 7 ? * MON,TUE,WED,THU,FRI *
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading