Replies: 2 comments 1 reply
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Probably is caused due to the cron process when handling scheduled workflows in GitHub Actions; such works are scheduled by the Github in the UTC time, despite all this, execution does run a little longer in various other reasons:
Test and Debugging Steps
Example:
You can't avoid load-induced delays but will reduce the impact of them if your workflow operates at less-populated times. For example, the one below may reduce contention, for instance, by using
Include your workflow with timestamps or logging to track the actual start time of the workflow. 6. Check GitHub Support: In case of serious and persistent delays, please contact GitHub support with the information about your issue. ### Note on the Accuracy Scheduled GitHub Actions workflows do not have high-precision timing. If such pinpoint intervals are needed, consider such alternatives as an external cron job service using either AWS Lambda or Google Cloud Scheduler, which can fire off GitHub Actions using the REST API. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Link: Test_workflows
I have configured a cron job in my GitHub Actions workflow to run a certain action every hour, at minute 0 (e.g. 0 * * * *), but I noticed that it does not run as expected.
My workflow should run every hour at minute 0, but I noticed that it runs at unexpected times, such as:
This does not seem to match the schedule 0 * * * *, which should run the job at minute 0 of every hour.
What I expect:
00:00
01:00
02:00
03:00
...
23:00
Result:
Has anyone had similar experiences with cron jobs on GitHub Actions not respecting the scheduled time?
Could you confirm if the UTC time zone could be the cause of the issue and if there are any workarounds to make the cron job match the local time?
Could it be a problem with the machine?
Beta Was this translation helpful? Give feedback.
All reactions