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

Impossible CRON Expression #148

Open
brianwebb01 opened this issue Mar 27, 2017 · 1 comment
Open

Impossible CRON Expression #148

brianwebb01 opened this issue Mar 27, 2017 · 1 comment

Comments

@brianwebb01
Copy link

I'm getting an 'impossible cron expression' error which seems to be a combination of day of the week, the Sydney timezone, and the particular 'current date' of 3/27.

$dateTime = Cron\CronExpression::factory('0 0 * * 1')->getNextRunDate(Carbon\Carbon::create(2017, 3, 27, 0, 0, 0, 'UTC')->timezone('Australia/Sydney'));
@robinedwardsordermate
Copy link

We also had this problem, which occurred for Melbourne and Sydney at the start of daylight savings (when clocks were wound back 1 hour), on 2 April. As a workaround we're using Australia/Brisbane until I can figure out how to get Melbourne/Sydney to work.

loneregister pushed a commit to loneregister/cron-expression that referenced this issue Sep 5, 2023
* mtdowling#137 Add check for multiple question marks
* mtdowling#137 Validate position of question marks in expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants