Minimal Example

Quick Start

Here’s a minimal example to get Cheek running:

1. Create a job configuration file

Create a file called jobs.yaml:

jobs:
  hello:
    command: echo "Hello from Cheek!"
    cron: "*/5 * * * *"  # Run every 5 minutes

2. Run Cheek

cheek run jobs.yaml

That’s it! Cheek will now execute the hello job every 5 minutes.

What’s happening?

  • jobs: The root section that contains all your job definitions
  • hello: The name of your job (you can choose any name)
  • command: The shell command to execute
  • cron: A cron expression that defines when to run the job

Next Steps