Next: Request Execution
Up: telco - observatory master
Previous: Usage
Contents
In daemon mode the program does the following:
- executes insgen import to generate a new schedule
- Reads the Schedule table (Section ) in database and determines the first request on the list, if there are no requests the wait time is 12 hours
- If the start time is greater than 1 minute away and the slit is open it:
- If the wait time is less than 60 minutes: executes weatherpause (Section 5.5.5) keeping dome open
- If the wait time is greater than one hour: executes closedown (Section 5.1.2) shutting observatory down
- sleeps until request is to be observed
- if interrupted: loops
- observes request
- loops
When not in daemon mode it:
- sleeps
- accept reqid= requests
- accept daemon= commands
Louis-Gregory Strolger
2012-01-09