The Scheduling tab provides options to schedule one or more times for the program running under FireDaemon Pro control to be run or restarted. The type of scheduling permitted for a program depends on the its type as specified in the Program tab. For further information regarding detailed scheduling please see this article and this article.


Services marked as Always Running Program in the Program tab support the following schedule types:

  • Restart Program
  • Duration
  • Halt (but not available via the GUI yet - we are working on it :).


Services marked as Self Completing Task in the Program tab support the following schedule type:

  • Execute Task.


The Scheduling tab displays all existing schedules for the FireDaemon Pro service. By default, no schedules are defined. With no defined schedules, a service marked as an Always Running Program will run the program 24x7, whereas a service marked as a Self Completing Task will run the program until it completes and then stops.


Understanding Program State when Schedules Are In Force


For an Always Running Program:

  • It's vital to know that Duration and Halt schedules define uptime and downtime of the program. Program uptime is endless when no such schedules are defined
  • If only completing Duration schedules are present they also define when the service will be stopped
  • If a Duration schedule completes, the FireDaemon Pro service will be stopped
  • If a Halt schedule completes, the program will either get launched or will be kept running
  • If a Restart schedule completes, the program will either get launched or will be kept running
  • If both Duration and Halt schedules are active then downtime has precedence over uptime (i.e. the program will be shut down)
  • If both Duration and Halt schedules have completed then uptime has precedence over downtime (i.e. the service will be stopped)
  • A Restart schedule operates only within uptime. Otherwise, program uptime is not affected by Restart schedules.


For a Self Completing Task:

  • If a Execution schedule completes, the FireDaemon Pro service will be stopped.



The Scheduling tab includes the following input fields


Field
Description
Overall Launch DelayThis controls the number of seconds that FireDaemon Pro will wait before launching the program.

The delay applies during normal system starts or restarts and during scheduled events. It does not apply during a lifecycle restart (i.e. an automatic restart in response to a program crash or hang).


The fields provided on the list of Schedule Definitions are as follows:


ColumnDescription
ActiveThis checkbox indicates the current status of the schedule.

Select the checkbox to activate the schedule, or clear the checkbox to deactivate (but not delete) the schedule.
NameThe name of the schedule.

Naming a schedule is optional, but useful when deploying multiple schedules.

Note: If no name is specified, the default name “New Schedule” is used.
Interval, FrequencyDisplays the time interval for running the program as well as how frequently the program runs.

This section is based on the Interval and Frequency sections when defining a schedule.

The interval shows the days of the week when the schedule is in effect. The frequency shows how often within each interval the scheduling is set to take place.
ScheduledShows the times that the schedule is in effect.
Fixed PeriodShows the period over which the schedule is in effect.

If a fixed period is not defined, the schedule will be effective from the time it is created and it will have no end time.