Latest

One small part per post: a probe, a daily job, a trick, a trap that cost an afternoon.

All posts

launchd, not cron, on a Mac

Scheduled jobs on a Mac belong in a launchd plist: they survive reboots, run as your user, and log where you can find them. One minimal plist, the commands to load it, and the privacy gotcha that makes a job under Documents fail with Operation not permitted.

Christian Drexler

One post a day from a cron job

A folder of source material, a scheduled job that turns one item into an article each morning and publishes it, and a human who reads every post for the first week before the job is allowed to run alone.

Christian Drexler

Mirroring a Drive folder to S3 every ten minutes

Editors drop finished files into a shared Google Drive folder. A cron job copies the folder to a public S3 prefix with rclone, so every file gets a stable URL that works in a browser, an API call or a spreadsheet, without anyone logging in.

Christian Drexler