Home| superdarn |src.bin|os| schedule Index

schedule

Syntax
schedule --help
schedule [options] schedule
Synopsis

Schedules the running of control programs.

Options
--helpprint the help message and exit.
--versionprint the RST version number and exit.
-dreload the schedule once a day (default).
-hreload the schedule once an hour.
-treload the schedule once every 10 minutes.
-mreload the schedule once a minute.
-name stidadd the three-letter station ID code stid to the scdlog filename.
scheduleread the schedule from the file schedule.
Description

The scheduler uses a script called a schedule file that specifies what time and date a program is due to start and what command line to use to execute the program. Periodically the scheduler reloads and re-processes the schedule file. This allows any alterations or additions to the schedule to be correctly identified and acted upon.

The scheduler will record all of its actions in a special log file stored in the directory defined by the SD_SCDLOG_PATH environment variable. Each day a new log file is created with the filename yyyymmdd.scdlog where yyyymmdd is the date.

If the "-name" option is specified, the log file is created with the filename yyyymmdd.rad.scdlog, where rad is the three-letter station ID code provided by the user (or any other string).

Examples
schedule -name cve /data/ros/scd/cve.scd &

Load the schedule file located at /data/ros/scd/cve.scd and add the string "cve" to the filename of the daily log files.