Skip to content

Cron Schedule might not trigger with some timezones set in the preferences.  #5096

@CaMer0n

Description

@CaMer0n

Bug Description

When using the timezone 'America/Chihuahua', cron jobs would not trigger at all.

How to Reproduce

Steps to reproduce the behavior:

  1. Set the default timezone to 'America/Chihuahua' in the Admin preferences.
  2. Schedule a cron job to run every minute for _system_cron::sendEmail()

Cause

The 'intl' extension (depending on the version of PHP) may not be up-to-date. This caused a 1 hour difference for the timezone above, so the cron time would never match the calculate 'NOW' time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA problem that should not be happening

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions