# 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)
