You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
364 B
Plaintext

# tsp
# task-spooler - A simple Unix batch system to run commands in a queue
# Run a job in the background
tsp pg_dump mydb
# Run complex job in the background
tsp sh -c "pg_dump mydb > file.log"
# Show list of jobs
tsp -l
# Print path to logfile
tsp -o [job ID]
# Print logfile
tsp -c [job ID]
# Clear job list
tsp -C
# Kill a job
kill $(tsp -p [job ID])