Task Spooler

  1,440 downloads
0.7.3 GPL (GNU General Public License)    
3.1/5 28
Run batch jobs on a Linux computer.

description

download

specifications

changelog

Task Spooler project was created to run batch jobs on a Linux computer.

Usage: ts [action] [-n] [-f] [cmd...]

Env vars:

TS_SOCKET the path to the unix socket used by the ts command
TS_MAILTO where to mail the result (on -m). Local user by default
TS_MAXFINISHED maximum finished jobs in the queue
TS_ONFINISH binary called on job end (passing jobid, error, outfile, command)

Actions:

-K kill the task spooler server
-C clear the list of finished jobs
-l show the job list (default action)
-t [id] tail -f the output of the job. Last if not specified.
-c [id] cat the output of the job. Last if not specified.
-p [id] show the pid of the job. Last if not specified.
-o [id] show the output file. Of last job run, if not specified.
-s [id] show the job state. Of the last added, if not specified.
-r [id] remove a job. The last added, if not specified.
-w [id] wait for a job. The last added, if not specified.
-u [id] put that job first. The last added, if not specified.
-U swap two jobs in the queue.
-h show this help
-V show the program version

Options adding jobs:

-n don't store the output of the command.
-g gzip the stored output (if not -n).
-f don't fork into background.
-m send the output by e-mail (uses sendmail).
READ MORE   
Last updated on July 30th, 2012
1  
Task Spooler

0 User reviews so far.

SUBMIT