Cron in GitHub Actions

Scheduled workflows can be delayed by many minutes at busy hours, and are disabled after 60 days of repo inactivity. Below, every schedule with a GitHub Actions example you can paste.

# .github/workflows/cron.yml
on:
  schedule:
    - cron: '*/5 * * * *'
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - run: curl -fsS https://example.com/cron/run