I am looking at scheduling a Glue Notebook Every 10 mins .
cron(0/10 * * * ? *) & cron(*/10 * * * *)
I am getting an error Must be a valid cron expression. I have tried few other permutation combinations.
Ideally I would like an example to run a cron job every 10 mins for 4 days
Thanks
AWS Glue uses the following cron expression format:
cron(Minutes Hours Day-of-month Month Day-of-week Year)
You can try something like this:
cron(0/10 * ? * MON-THU *)
Minute: Every 10 minutes → 0/10
Hour: Every hour → *
Day of month: Any → ?
Month: Every month → *
Day of week: Choose 4 days, e.g., Monday to Thursday → MON-THU
The documentation gives you more detailed explanation and some examples.