https://github.com/wintercms/docs/blob/cd663eb1bd09e62e3625b4a2b25e8b34c322fe00/plugin/scheduling.md?plain=1#L91C1-L102C4
Are you sure for that !?
For me it runs too late!
The scheduler reads app.schedule_timezone before the plugin changes this value.
Execution order :
- ✅ Laravel loads
config/app.php → schedule_timezone = “UTC”
- ✅ The scheduler starts evaluating tasks with UTC
- ❌ The plugin runs and changes
schedule_timezone → too late!
Wouldn't it be preferable to make a note to use the configuration variable app.schedule_timezone anyway?
https://github.com/wintercms/docs/blob/cd663eb1bd09e62e3625b4a2b25e8b34c322fe00/plugin/scheduling.md?plain=1#L91C1-L102C4
Are you sure for that !?
For me it runs too late!
The scheduler reads
app.schedule_timezonebefore the plugin changes this value.Execution order :
config/app.php→schedule_timezone= “UTC”schedule_timezone→ too late!Wouldn't it be preferable to make a note to use the configuration variable
app.schedule_timezoneanyway?