r/github • u/Outside-Instance-328 • May 06 '26
Question GitHub Cronjobs not working
Hey,
I created my first Repo today. The workflow is meant to start a python-file. It imports users out of a .txt file, gathers data from a website, matches it to the users and sends the data to a discord webhook. Everything working fine.
I can start the workflow with "workflow_dispatch" and it works as intended. But this workflow should run twice a day with cron. Currently it looks tile this:
on:
schedule:
- cron: "*/5 * * * *"
It doesn't matter if I let the job start every 5 minutes or at given times. It simply doesn't start.
It's in the "main" branch (default), I already deleted the workflow, and added it with a new name, it's enabled, it has read and write permissions and the setting "Allow all actions and reusable workflows" is set. It's a private repo.
Do you have any suggestions?
View all comments
Show parent comment
0
u/Outside-Instance-328 May 06 '26
I did. I created the workflow 5 hours ago with the scheduled time and just a few minutes ago it finally started.
That's too long however. I already solved the issue with external cronjobs (cron-job.org), now the workflow is triggered exactly when I need it.
But thank you anyway! :)