> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/devops/github-actions/scheduling-jobs-cron-style.md).

# Scheduling jobs cron style

### Scheduling jobs

* When you are writing the workflow you need to add the following entries to the `on` block:

```yaml
on:
  schedule:
    - cron: '* * * * *'
```

* Example:

```yaml
name: "Example"

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  
  # This section is for the schedule
  schedule:
    - cron: '* * * * *'
```

{% hint style="info" %}
To make life more easy use [Crontab Guru](https://crontab.guru/)
{% endhint %}

### Resources

* [Youtube Link](https://www.youtube.com/watch?v=eJG86J200nM)
* [Airplane Dev Blog](https://www.airplane.dev/blog/scheduling-your-github-actions-cron-style)
