Tech
Moving crontab schedules to Databricks and EventBridge: what changes in the expression
0 9 * * 1-5 means 09:00 Monday–Friday in a crontab. Paste it into Databricks (Quartz) or AWS EventBridge and it is either rejected or runs on the wrong days. A quick demo with the free DevToolBox Cron Converter :
From (Unix)
To
Result
Outcome
0 9 * * 1-5
Quartz
0 0 9 ? * 2-6
conditional (same timezone)
0 9 * * 1-5
EventBridge
cron(0 9 ? * 2-6 *)
conditional (rules run in UTC)
0 9 1 * 1
Quartz
—
unsupported: Unix runs on the 1st ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to