Run shell commands on a schedule on your Mac
One command sets it up, launchd runs it, and every run gets its own log
Read the docsOne command, then launchd takes over
tloop writes the launchd job for you, so you never edit a plist file by hand. Your tasks keep running after a restart.
Pick how often, and when
An interval sets the gap between runs. Hours keep a task inside a window each day. How schedules work →
tloop add --name pull-notes --cmd "git pull --ff-only" --cwd ~/notes --interval 1h --hours 9-21
- --interval 30sEvery 30 seconds
- --interval 15mEvery 15 minutes
- --interval 1dOnce a day, counted from when it loads
- --hours 9-21Only from 09:00 to 20:59
Plain files you can read
Everything tloop knows sits in a few files, so you can check or undo any of it by hand.
Your Mac already has a scheduler
tloop gives it a short command line, so a recurring job takes one line to set up.