Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CaMer0n opened this issue Nov 3, 2023 · 0 comments
Closed
Labels
type: bug A problem that should not be happening
Milestone

Comments

@CaMer0n
Copy link
Member

CaMer0n commented Nov 3, 2023

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.

@CaMer0n CaMer0n added the type: bug A problem that should not be happening label Nov 3, 2023
@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Nov 3, 2023
@CaMer0n CaMer0n closed this as completed in bfb515f Nov 3, 2023
CaMer0n added a commit that referenced this issue Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

1 participant