Docs · Sheet 01 of 05

Getting started

Install Cuckoo, let macOS run it in the background, and write your first Job. It takes a few minutes.

Requirements

Install

  1. Download Cuckoo-0.1.0.dmg and open it.
  2. Drag Cuckoo to Applications.
  3. Open Cuckoo from Applications. Its icon appears in the menu bar, not in the Dock.

Cuckoo has to run from /Applications. A copy anywhere else can't register its background agent, so its Jobs don't run.

Approve it in Login Items

The Jobs are run by a small background agent. macOS asks you to allow it once. Until you do, the popover says:

Click Open Settings… and turn Cuckoo on in Login Items. The notice goes away and the Jobs start.

Your first Job

Choose New Job… in the popover, or press ⌘N. Give it a name, a Command, and a Schedule, then save.

Or write the file yourself. Save this as ~/.config/cuckoo/disk-space.toml:

disk-space.toml
1# Fails when the startup disk is more than 90% full.2name = "Disk space"3command = '''4df -h /5used=$(df / | awk 'NR==2 {gsub("%", "", $5); print $5}')6test "$used" -lt 907'''8every = 60

Cuckoo picks it up within a second and runs it every hour. A Run fails when the Command exits with a non-zero status. Here, that is when test finds the disk too full. The first failure sends a notification to this Mac.

Next steps

CuckooDocs 01Getting startedJonathan Fontes - Developer