ts.1
author viric@llimona
Fri, 13 Apr 2007 20:52:28 +0200
changeset 127 c620eacd7630
parent 120 790bc4cecd3b
child 142 f78c77997a5e
permissions -rw-r--r--
Fixed the versions in the code.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     1
.\" Copyright LluĂ­s Batlle
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     2
.\"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     3
.\" This file may be copied under the conditions described
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     4
.\" in the LDP GENERAL PUBLIC LICENSE, Version 1, September 1998
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     5
.\" that should have been distributed together with this file.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     6
.\" 
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     7
.\" Note: I took the gnu 'ls' man page as an example.
127
c620eacd7630 Fixed the versions in the code.
viric@llimona
parents: 120
diff changeset
     8
.TH TS 1 2007-04 "Task Spooler 0.4"
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
     9
.SH NAME
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    10
ts \- task spooler. A simple unix batch system
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    11
.SH SYNOPSIS
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    12
.BI "ts [" actions "] [" options "] [" command... ]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    13
.sp
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    14
Actions:
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    15
.BI "[\-KCLhV]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    16
.BI "[\-t ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    17
.BI "[\-c ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    18
.BI "[\-p ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    19
.BI "[\-o ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    20
.BI "[\-s ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    21
.BI "[\-r ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    22
.BI "[\-w ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    23
.BI "[\-u ["id ]]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    24
.BI "[\-U <"id - id >]
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    25
.sp
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    26
Options:
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    27
.BI "[\-nfgm]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    28
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    29
.SH DESCRIPTION
89
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
    30
.B ts
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
    31
will run by default a per user unix task queue. The user can add commands to
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    32
the queue, watch that queue at any moment, and look at the task results
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    33
(actually, standard output and exit error).
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    34
.SH SIMPLE USE
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    35
Calling
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    36
.B ts
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    37
with a command will add that command to the queue, and calling it without
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    38
commands or parameters will show the task list.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    39
.SH COMMAND OPTIONS
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    40
When adding a job to ts, we can specify how it will be run and how will the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    41
results be collected:
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    42
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    43
.B "\-n"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    44
Don't store the standard output/error in a file at
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    45
.B $TMPDIR
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    46
- let it use the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    47
file descriptors decided by the calling process. If it is not used, the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    48
.B jobid
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    49
for the new task will be outputed to stdout.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    50
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    51
.B "\-g"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    52
Pass the output through gzip (only if
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    53
.B \-n
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    54
). Note that the output files will not
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    55
have a .gz extension.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    56
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    57
.B "\-f"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    58
Don't put the task into background. Wait the queue and the command run without
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    59
getting detached of the terminal. The exit code will be that of the command, and
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    60
if used together with \-n, no result will be stored in the queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    61
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    62
.B "\-m"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    63
Mail the results of the command (output and exit code) to
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    64
.B $TS_MAILTO
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    65
, or to the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    66
.B $USER
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    67
using
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    68
.B /usr/sbin/sendmail.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    69
Look at
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    70
.B ENVIRONMENT.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    71
.SH ACTIONS
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    72
Instead of giving a new command, we can use the parameters for other purposes:
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    73
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    74
.B "\-K"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    75
Kill the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    76
.B ts
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    77
server for the calling client. This will remove the unix socket and
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    78
all the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    79
.B ts
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    80
processes related to the queue. This will not kill the command being
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    81
run at that time.
96
d1bb8bfdebc3 Small addon for -K to the manual.
viric@llimona
parents: 93
diff changeset
    82
d1bb8bfdebc3 Small addon for -K to the manual.
viric@llimona
parents: 93
diff changeset
    83
It's not reliable to think that
d1bb8bfdebc3 Small addon for -K to the manual.
viric@llimona
parents: 93
diff changeset
    84
.B ts -K
d1bb8bfdebc3 Small addon for -K to the manual.
viric@llimona
parents: 93
diff changeset
    85
will finish when the server is really killed. By now it's a race condition.
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    86
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    87
.B "\-C"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    88
Clear the results of finished jobs from the queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    89
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    90
.B "\-l"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    91
Show the list of jobs - to be run, running and finished - for the current queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    92
This is the default behaviour if
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    93
.B ts
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    94
is called without options.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    95
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    96
.B "\-t [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    97
Run the system's tail to the output file of the named job, or the last
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    98
running/run if not specified.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
    99
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   100
.B "\-c [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   101
Run the system's cat to the output file of the named job, or the last
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   102
running/run if not specified.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   103
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   104
.B "\-p [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   105
Show the pid of the named job, or the last running/run if not specified.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   106
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   107
.B "\-o [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   108
Show the output file name of the named job, or the last running/run 
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   109
if not specified.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   110
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   111
.B "\-s [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   112
Show the job state of the named job, or the last in the queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   113
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   114
.B "\-r [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   115
Remove the named job, or the last in the queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   116
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   117
.B "\-w [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   118
Wait for the named job, or for the last in the queue.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   119
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   120
.B "\-u [id]"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   121
Make the named job (or the last in the queue) urgent - this means that it goes
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   122
forward in the queue so it can run as soon as possible.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   123
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   124
.B "\-U <id-id>"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   125
Interchange the queue positions of the named jobs (separated by a hyphen and no
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   126
spaces).
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   127
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   128
.B "\-h"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   129
Show help on standard output.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   130
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   131
.B "\-V"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   132
Show the program version.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   133
.SH ENVIRONMENT
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   134
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   135
.B "TS_MAXFINISHED"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   136
Limit the number of job results (finished tasks) you want in the queue. Use this
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   137
option if you're tired of
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   138
.B \-C.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   139
.TP
89
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
   140
.B "TS_ONFINISH"
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
   141
If the variable exists pointing to an executable, it will be run after the
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
   142
queued jobs. It uses execlp, so
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
   143
.B PATH
93
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   144
is used if there are no slashes in the variable content. The executable is run
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   145
with four parameters:
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   146
.B jobid
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   147
.B errorlevel
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   148
.B output_filename
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   149
and
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   150
.B command.
89
94170d3b46d0 Fixed the manpage for TS_ONFINISH
viric@llimona
parents: 80
diff changeset
   151
.TP
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   152
.B "TMPDIR"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   153
As the program output and the unix socket are thought to be stored in a
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   154
temporary directory, 
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   155
.B TMPDIR
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   156
will be used if defined, or
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   157
.B /tmp
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   158
otherwise.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   159
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   160
.B "TS_SOCKET"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   161
Each queue has a related unix socket. You can specify the socket path with this
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   162
environment variable. This way, you can have a queue for your heavy disk
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   163
operations, another for heavy use of ram., and have a simple script/alias
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   164
wrapper over ts for those special queues. If it's not specified, it will be
119
361b08d33762 $USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents: 100
diff changeset
   165
.B $TMPDIR/socket-ts.[uid].
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   166
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   167
.B "TS_MAILTO"
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   168
Send the letters with job results to the address specified in this variable.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   169
Otherwise, they're sent to
119
361b08d33762 $USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents: 100
diff changeset
   170
.B $USER
361b08d33762 $USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents: 100
diff changeset
   171
or if not defined,
361b08d33762 $USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents: 100
diff changeset
   172
.B nobody.
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   173
The system
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   174
.B /usr/sbin/sendmail
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   175
is used. The
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   176
job outputs are not sent as an attachment, so understand the consequences if you
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   177
use the
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   178
.B \-gm
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   179
flags together.
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   180
.TP
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   181
.B "USER"
119
361b08d33762 $USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents: 100
diff changeset
   182
As seen above, it's used for the mail destination if
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   183
.B TS_MAILTO
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   184
is not specified.
120
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   185
.TP
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   186
.B "TS_SAVELIST"
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   187
If it's defined when starting the queue server (probably the first
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   188
.B ts
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   189
command run), on SIGTERM the queue status will be saved to the file pointed
790bc4cecd3b Added TS_SAVELIST.
viric@llimona
parents: 119
diff changeset
   190
by this environment variable - for example, at system shutdown.
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   191
.SH BUGS
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   192
If you want to run complex commands, you may want to run them through
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   193
.B sh -c 'commands...'
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   194
Also, remember that stdin/stdout/stderr will be detached, so
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   195
don't use your shell's redirection operators when you put a job into background.
80
be0fb7e56061 New Changelog, updated README, and the manpage.
viric@llimona
parents: 78
diff changeset
   196
93
332574eacf8a Better manpage on TS_ONFINISH.
viric@llimona
parents: 92
diff changeset
   197
If an internal problem is found in runtime, a file
92
05004c52ecff Better error reports on internal handled errors.
viric@llimona
parents: 89
diff changeset
   198
.B /tmp/ts.error
05004c52ecff Better error reports on internal handled errors.
viric@llimona
parents: 89
diff changeset
   199
is created, which you can submit to the developer in order to fix the bug.
05004c52ecff Better error reports on internal handled errors.
viric@llimona
parents: 89
diff changeset
   200
78
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   201
.SH SEE ALSO
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   202
.BR at (1)
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   203
.SH AUTHOR
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   204
Lluis Batlle i Rossell
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   205
.SH NOTES
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   206
This page describes
e4d5907f5aaf Added manpage and make install.
viric@llimona
parents:
diff changeset
   207
.B ts
127
c620eacd7630 Fixed the versions in the code.
viric@llimona
parents: 120
diff changeset
   208
as in version 0.4. Other versions my differ. The file
80
be0fb7e56061 New Changelog, updated README, and the manpage.
viric@llimona
parents: 78
diff changeset
   209
.B TRICKS
be0fb7e56061 New Changelog, updated README, and the manpage.
viric@llimona
parents: 78
diff changeset
   210
found in the distribution package can show some ideas on special uses of
be0fb7e56061 New Changelog, updated README, and the manpage.
viric@llimona
parents: 78
diff changeset
   211
.B ts.