zaptsched - Sends a signal to tsched, gvarsched, or demsched.

SYNOPSIS

zaptsched  [ parameter=value ]

Parameter is: signal.

DESCRIPTION

tsched, gvarsched, and demsched are daemons that control pass reception.  tsched works off a schedule, while gvarsched and demsched try to keep reception going all the time.

All three daemons update the online catalog in the pass directory, $PASSDIR. tsched also updates the schedlist file.

In order to keep these files from being corrupted, tsched, gvarsched, and demsched should never be killed outright, e.g., via kill -9.

zaptsched is a convenience function that determines the reception daemon's process id from antenna shared memory, and sends safe signals to the daemon. The following signals are supported:

reset (SIGHUP)
 
Restarts the daemon; causes it to re-read its setup files.
 
abort (SIGTERM)
 
Kills the daemon gracefully after all files have been closed.
 
stop (SIGINT)
 
Stops the daemon from starting up any pass reception jobs.
 
go (SIGCONT)
 
Causes the daemon to resume starting pass reception jobs.
 
wakeup (SIGALRM)
 
Wakes up the daemon from a sleep period.
 

PARAMETERS

signal
 
The signal to send to tsched or gvarsched. The valid signals are reset, abort, stop, go, and wakeup. There is no default.
 

SEE ALSO

tsched, gvarsched, demsched

NOTES

If the daemon is started by the superuser, the user will have to switch to superuser mode in order to send signals to the daemon.


Last Update: $Date: 1999/05/10 21:22:42 $