Troubleshooting
A task that doesn't run, can't find a command, or keeps logging skips.
tloop info k3x9qa
tloop logs k3x9qa
launchctl list | grep com.tloop.task.k3x9qaStart with those three. info shows the status and the last run, logs shows what the last run printed, and launchctl shows whether launchd has the job loaded.
The log says "command not found"
launchd doesn't start a login shell, so a run only knows the PATH that was copied into the plist when you last ran tloop add, edit or start. A tool you installed after that, or one your shell only finds after reading ~/.zshrc, is missing.
Open a terminal where the command works and write the plist again:
tloop stop k3x9qa && tloop start k3x9qaYour shell runs the command with -c, which doesn't load the files an interactive terminal reads, like ~/.zshrc. Aliases and shell functions from there aren't available. Use the command's full path, or move what it needs to ~/.zshenv.
Nothing runs and there's no log
If launchctl list doesn't show the job, it isn't loaded. Load it with tloop start k3x9qa.
If the job is loaded but no log file shows up, read ~/.tloop/logs/k3x9qa/launchd-err.log. Errors from the runner script itself go there.
Every run fails before the command starts
The runner reads ~/.tloop/config.json with /usr/bin/python3. On a Mac without the Xcode Command Line Tools, that's a placeholder that asks you to install them, so every run stops there. Install them and check:
xcode-select --install
/usr/bin/python3 --versionA stopped task keeps logging after a restart
tloop stop leaves the plist in ~/Library/LaunchAgents, and launchd loads every plist there when you log in. The runner sees the task is disabled and writes Task disabled, skipping each interval instead of running it.
To get rid of a task for good, remove it:
tloop remove k3x9qaThe log says "Outside working hours"
The run fell outside the task's --hours. That's expected. If it happens all day, check that the start hour is smaller than the end hour: an overnight range like 22-6 never runs. See Schedules.
The command runs in the wrong folder
Without --cwd, launchd starts the run in /. Set a folder with tloop edit k3x9qa --cwd ~/notes, with ~ unquoted so your shell expands it. A quoted "~/notes" is saved as is, and the runner can't move into it.
Remove a task by hand
If config.json and launchd disagree, for example after you deleted ~/.tloop, clean up the job directly:
launchctl unload ~/Library/LaunchAgents/com.tloop.task.k3x9qa.plist
rm ~/Library/LaunchAgents/com.tloop.task.k3x9qa.plist
rm -r ~/.tloop/logs/k3x9qaThen delete the task from ~/.tloop/config.json, if it's still there.