Skip to content

Schedule TimeZone #257

@damsfx

Description

@damsfx

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.phpschedule_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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions