Scheduled GitHub Actions workflow ran once, then missed several hourly runs #214462
Replies: 6 comments
|
💬 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. ⭐ |
|
Short version: your schedule is fine, GitHub's scheduler is just running late. That 09:05 run is the clue. Your cron fires at 38 minutes past the hour, so a run stamped 09:05 was really the 08:38 slot turning up about 27 minutes late. Scheduled runs are best-effort and they slip when GitHub is busy, and a private repo has nothing to do with it. |
|
Thanks, that makes sense. The workflow was enabled on main, and the 38 * * * * schedule was pushed at 19:36 UTC on 30 November. It was due to run every hour overnight, but the first scheduled run in the history was at 09:05 UTC on 1 December. That run succeeded, and I’ve just checked again and there are still no later scheduled runs showing. Both earlier manual runs succeeded. I only need one or two successful runs a day, so exact timing is flexible. Is a gap that long typical, or is there anything else I should check? |
|
since only one or two runs a day are needed, schedule more slots than that so a dropped one doesn't matter, something like a few times a day at an odd minute ( |
|
Likely cause is GitHub dropping scheduled triggers, not your cron or the private repo. Your cron is valid and manual runs work. A 09:05 start for a 38 past the hour schedule points to a delayed trigger. GitHub treats schedule as best effort and can drop slots under load, so an overnight gap with one late run fits that pattern.
If it still fails, report back the next two expected times, whether any schedule run appears in the API, and whether the workflow shows as enabled. |
|
Thanks for the suggestions. Quick update: it ran automatically again at 07:14 UTC on 2 December, about 22 hours after the previous successful run at 09:05 UTC on 1 December. GitHub marked both as scheduled, and there were no runs in between. The workflow is still enabled on main with 38 * * * *. Ideally I need two successful syncs a day, roughly 12 hours apart. The exact times are flexible. Has anyone managed that consistently with GitHub’s built-in scheduler, or did you end up using an external scheduler to trigger the workflow? |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
ARC (Actions Runner Controller)
Discussion Details
Hi, I’m trying to work out why my scheduled workflow has only run automatically once. It’s enabled in a private repository on the default branch (main), with the cron set to 38 * * * *.
On 1 December, GitHub recorded one successful run at 09:05 UTC, labelled “Triggered via schedule.” The 09:38 and 10:38 UTC slots both passed with no further runs in the history when I checked. Two manual runs also succeeded.
Has anyone seen this with a private repo? Is there a repository or account setting I can check to help explain why the later scheduled runs didn’t appear?
All reactions