-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Schedule o'clock fails on AWS instance #13462
Comments
I think that the issue comes from: https://laracasts.com/discuss/channels/laravel/run-cron-job-tasks-simultaneously |
Wondered about this myself.
|
@sebcode - I dont think point 2 is correct. I looked into it - and in the "CronExpression"
And I checked the code in that function, and it definitely drops the seconds when doing an evaluation. |
@sylouuu I wonder if you had any updates or finding on this. |
@themsaid I always had issues with the Laravel built-in CRON system so now I use the old school version by writing CRON expression to call an artisan command. Besides I don't work on this project anymore but it could be nice if you can try the given snippet with the log info before closing this issue. Best |
Thing is I used to have a job that runs every minute and I never noticed a skipped minute, going to give it another go. |
Closing this for lack of activity, if anybody is facing the same issue and stumbled upon this thread please ping me if you have more information that could help. |
Hey @themsaid, I'm running into this issue on an AWS instance as well.
Here's the cron logs (we're using a single server called
And the logs from the web server (Mediapp4):
You can see the Any ideas? |
Upon further inspection, I've found that Mediapp4 does not have entries for 15 or 30 minutes:
|
Hey,
I made a small test with the scheduler on Laravel 5.2.
Here is what I see in my AWS instance in production:
Issue 1
Why the
schedule:run
log is printed twice?Issue 2
My real problem, why the
handle
method has not been called at14:00:01
?The same problem occurs with
everyFiveMinutes()
.Idea: as it seems to be OK on my OSX dev machine, what about the CRON parsing on AWS instance?
Bests
EDIT: May be related with #10588, but tested with 5 stars instead of 6 and still not working.
The text was updated successfully, but these errors were encountered: