WindmillWWindmill
Powered by
JacobJ
Windmill•4mo 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,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 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
5mo ago
One time schedule
ThunderrTThunderr / help
15mo ago