WindmillWWindmill
Powered by
JacobJ
Windmill•5mo ago•
2 replies
Jacob

cron: a schedule should have a next event: InvalidTime

Hi,

I'm not sure this is the right place to report this, but hopefully it reaches the right people.

We noticed some schedules failing during the transition to "winter" time, the night between 25 and 26 October. Since Windmill has been stable both before and after the switch from daylight savings I believe it might be related to rewinding the clock.

- Windmill version: CE v1.476.0-2-g09f4ee22b
- Worker logs are attached
- The error is consistent in the sense that all our schedules for the range of time close to 00:00 the 26:th failed with the same error. All our workers were affected
- I'm not sure the flow is relevant since this error affects all our flows. But if I'm wrong just tell me and I'll provide one
- The infra is based on docker compose, three workers. The setup is simple, all on the same machine with 100GB storage, 32GB RAM, 8 vCPUs.

The actual error seems to be:

thread 'tokio-runtime-worker' panicked at windmill-common/src/utils.rs:489:18:
cron: a schedule should have a next event: InvalidTime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2025-10-25T23:45:00.054861Z  INFO windmill-api/src/lib.rs:625: Graceful shutdown of server
Error: task 102 panicked with message "cron: a schedule should have a next event: InvalidTime"
jemalloc enabled
Connecting to database...
OTEL settings loaded: tracing (false), logs (false), metrics (false), endpoint (None), headers defined: (false)
thread 'tokio-runtime-worker' panicked at windmill-common/src/utils.rs:489:18:
cron: a schedule should have a next event: InvalidTime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2025-10-25T23:45:00.054861Z  INFO windmill-api/src/lib.rs:625: Graceful shutdown of server
Error: task 102 panicked with message "cron: a schedule should have a next event: InvalidTime"
jemalloc enabled
Connecting to database...
OTEL settings loaded: tracing (false), logs (false), metrics (false), endpoint (None), headers defined: (false)


Any ideas on how we can avoid this?
wm-worker.log8.9KB
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Schedule cron expression
ym1198Yym1198 / help
3y ago
Why does it sometimes not seem to schedule the next step?
TobsebTTobseb / help
2y ago
Cannot edit schedule
Son TungSSon Tung / help
6mo ago
One time schedule
ThunderrTThunderr / help
16mo ago