Skip to content

Commit

Permalink
Mention scheduling the workflow with cron
Browse files Browse the repository at this point in the history
  • Loading branch information
jbranchaud committed Jun 20, 2023
1 parent a368d35 commit 249f9c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ Each of those Playwright canaries can be individually, locally invoked like so:
```bash
$ npm run healthcheck -- src/canaries/playwright-total-typescript.ts
```

To get the canaries to run every hour on the hour, you'd eventually want to add
a `schedule` directive to the workflow using this cron syntax:

```yml
on:
schedule:
- cron: '0 * * * *'
```

0 comments on commit 249f9c0

Please sign in to comment.