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

methods with exact time do not work. #62

Open
SkibidiProduction opened this issue May 5, 2020 · 0 comments
Open

methods with exact time do not work. #62

SkibidiProduction opened this issue May 5, 2020 · 0 comments

Comments

@SkibidiProduction
Copy link

SkibidiProduction commented May 5, 2020

command date on my server returns:
Tue May 5 10:12:21 +10 2020

php function date('Y-m-d H:i:s') returns:
2020-05-05 10:12:44

in schedule.php I use:
$schedule->command('controller/action')->timezone(new \DateTimeZone('Asia/Vladivostok'))->dailyAt('10:15');

or
$schedule->command('controller/action')->dailyAt('10:15');

or
$schedule->command('controller/action')->at('10:15');

And it doesn't work. But things like that:
$schedule->command('controller/action')->everyMinute();

works OK.

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

1 participant