-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Setting timezone dynamically #328
Comments
Hello, currently you can set it per task using |
@PabloKowalczyk I think its better if we can also do $schedule>timezone() at the beginning of each task file. |
@PabloKowalczyk how can I invoice the |
@vmartinez56 you can specify timezone per task: <?php
use Crunz\Schedule;
$schedule = new Schedule();
$task = $schedule->run(PHP_BINARY, ['-v']);
$task
->everyMinute()
->timezone('Europe/Warsaw') // string or \DateTimeZone instance
; |
Hi there,
Is there a way to set timezone dynamically in crunz?
We read timezone from a php configuration file.
Thanks.
The text was updated successfully, but these errors were encountered: