Why isn't cron running every 2 minutes? The effective running interval is 9 minutes.
From the documentation:
The shortest interval you can run scheduled workflows is once every 5 minutes.
which would look like
on:
schedule:
- cron: '*/5 * * * *'
This being said, even setting to 5 minutes doesn't necessarily run at exact 5 minute intervals; from the docs:
Note: The
schedule
event can be delayed during periods of high loads of GitHub Actions workflow runs. High load times include the start of every hour. If the load is sufficiently high enough, some queued jobs may be dropped. To decrease the chance of delay, schedule your workflow to run at a different time of the hour.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With