Run a Script on a Schedule

Run a Script on a Schedule

Use cron syntax to run scripts on a schedule. The following example will show a notification to stand up and stretch every 15 minutes.

// Name: Stand Up and Stretch
// Schedule: */15 * * * *
import "@johnlindquist/kit"
notify(`Stand up and stretch`)

Open stand-up-and-stretch in Script Kit

Crontab.guru is a great utility to help generate and understand cron syntax.

Discuss Post