We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Crunz version: 3.4.1
PHP version: 8.2.8
Description The timezone setting in crunz.yml is ignored for task life time checks in https://github.com/crunzphp/crunz/blob/v3.4.1/src/Event.php#L1191-L1213 . This causes tasks to run outside of specified time ranges.
How to reproduce Have date.timezone=UTC in your php.ini and timezone: Europe/Berlin in your crunz.yml
date.timezone=UTC
timezone: Europe/Berlin
crunz task:
<?php use Crunz\Schedule; $scheduler = new Schedule(); $scheduler ->run('echo "Hello World!"') ->everyMinute() ->between('12:00', '20:00'); return $scheduler;
play around with values for between and observe that it is following UTC times and not Europe/Berlin as configured.
The text was updated successfully, but these errors were encountered:
Hello @CerealP0rt, does #71 fixes your issue?
Sorry, something went wrong.
It does, thank you very much.
Fixed in https://github.com/crunzphp/crunz/releases/tag/v3.5.1
No branches or pull requests
Crunz version: 3.4.1
PHP version: 8.2.8
Description
The timezone setting in crunz.yml is ignored for task life time checks in https://github.com/crunzphp/crunz/blob/v3.4.1/src/Event.php#L1191-L1213 . This causes tasks to run outside of specified time ranges.
How to reproduce
Have
date.timezone=UTC
in your php.ini andtimezone: Europe/Berlin
in your crunz.ymlcrunz task:
play around with values for between and observe that it is following UTC times and not Europe/Berlin as configured.
The text was updated successfully, but these errors were encountered: