Skip to content

Instantly share code, notes, and snippets.

@rahul286
Last active March 27, 2022 13:38
Show Gist options
  • Save rahul286/bf0c7f4abea0e660027252b09959dbd8 to your computer and use it in GitHub Desktop.
Save rahul286/bf0c7f4abea0e660027252b09959dbd8 to your computer and use it in GitHub Desktop.
task spooler cheatsheet

via https://carleton.ca/rcs/rcdc/background-queue-of-jobs/

Install on mac

brew install task-spooler

Useful Commands

Command Purpose
ts List Jobs (no arguments)
ts -c <job-id> Show/Stream log for the job-id. CTRL+C to "exit" from log streaming.
ts -i <job-id> Meta info about the job-id
ts -C Cleanup finished job
ts -r <job-id> Remove a job from queue
ts -k <job-id> Kill a job from queue
ts -S 4 Set number of job that can run in parallel to 4.
ts -h Show help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment