NAME

keepopen - to keep the telescope positions updated

SYNOPSIS

keepopen maxtime= [pid=] [dome] [track] [track=] [slit] [kill] [debug] [nofork] [update=]

DESCRIPTION

keepopen transmits the selected maintenance commands
slit keepopen 
dome center 
track local  

keepopen executes the first cycle immediately and if there is a problem (e.g. the slit is closed or it is raining) it exits immediately with a non-zero exit code. If there is more than one cycle (i.e. maxtime > 60 seconds) then the program forks and executes in the background.

The commands are sent every 60 seconds as long as all the conditions are met. If the slit is closed or if the weather changes or the sun has risen and the slit must close, the slit will close the keepopen command will exit with a non-zero exit code.

OPTIONS

maxtime= option sets the maximum number of seconds the program will run. It must be specified.

dome -causes the dome center comand to be sent (see rtel for details).

slit -causes the slit keepopen command to be transmitted.

track -causes the track local command to be transmitted. This updates the tracking rate and will keep the track alive for another hour (see rtel for details). Note: use quotations if the command has spaces.

track= - causes the track command to be sent with addtional options.

update= changes the interval that the messages are sent. The default cycle time is 60 seconds.

pid= causes the keepopen to stay alive as long as the parent process (specified by its process ID) exists.

nofork - makes the command blocking until it terminates.


Program index