Loading a schedule
To load a schedule click on the corresponding date in the calendar. If
you click on
SAVE the schedule will be saved to the date shown in the box close to the
SAVE button. It is always identical with the last calender date you clicked.
Remarks about saving
If saving fails, an error message is displayed. If it was supposed to be successful,
the schedule of the selected date is newly loaded and displayed.
Replacing a schedule
You can overwrite a schedule with the schedule from a different date by entering the
date in the box close to
Load Night and either pressing Enter or the
Load Night
button.
Disabled entries
Entries which are at the time the schedule is loaded already in the past, are
disabled and cannot be changed. This is because they might already have been processed
by the scheduler and are currently executed.
Color of times
For the current night, entries which are before the current time are
displayed in red, entries which are later, are displayed in green. Colors are updated
interactively.
Scheduling
Note that the last entry display in red will most probably be the first one
executed by the scheduler. If the scheduler (Main.js) is running, it will just replace
the next entry in the schedule and be executed completely. If the scheduler (Main.js) is not
running, still the last red entry will be the first one to be executed, but since
it is the first one executed by the script, the script assumes that it failed and
was restarted. Therefore, only the last of its observations (usually
data)
is executed.
Suspend
If a
suspend is scheduled, all further observations are discarded. The
suspend itself is just a
sleep. If very soon, a new observation
will be started, it is best to schedule the
suspend before it, otherwise
the observation might get started before the
suspend is executed. Note
that a suspend does
not interrupt the current observation, but will work
as a normal entry, i.e. the previous measurement (usually a
data run) will
be finished before the suspend is executed.
Resume
If a
resume is scheduled, it has the same effect as if the preceeding
suspend was removed. That effectively means that the last observation
which was scheduled before the
resume will be executed as it if just became
valid. Consequently, if it is scheduled close to the change of observation,
it makes sense to schedule it after this observation, to avoid that the previous
observation becomes effective.
Options
Options are ecoded as JSON object (search google for details). The meaning of
their properties is defined by the task to be executed. The starting and
closing brace must be omitted. Note that for a correct JSON object, the property
names must be enclosed in double quotation marks ("...").