Create task-spooler sheet
parent
e31a548a9d
commit
a5d005ac73
@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
# Stop a job
|
||||
kill $(tsp -p [job ID])
|
Loading…
Reference in New Issue