scheduler

Purpose:

Manage the scheduling of processes at specified intervals in CyFlex, ensuring timely execution, handling process overruns, and monitoring for failures.

Enter:

scheduler [PRI=xx] [FAS=xx] [MED=xx] [SLO=xx] [USR1=xx] [USR2=xx] [WARP=xx] [WATCHDOG=xx]

Where:

PRI=xxx

 

Optional. Specify the execution priority of the scheduler task.

FAS=xx

 

Optional. Specify the time in milliseconds for FASt intervals.

MED=xx

 

Optional. Specify the time in milliseconds for MEDium intervals.

SLO=xx

 

Optional. Specify the time in milliseconds for SLOw intervals.

USR1=xxx

 

Optional. Specify an additional interval in milliseconds for custom use.

USR2=xxx

 

Optional. Specify an additional interval in milliseconds for custom use.

WARP=xx

 

Optional. Specify an additional interval in milliseconds for high-speed continuous operations.

WATCHDOG=xx

 

Optional. Specify NO for systems without a watchdog circuit. The default is YES for systems with a watchdog circuit.

Example:

scheduler 18 10 20 1000 &
The above spawns the scheduler at an execution priority of 18. The FASt, MEDium, and SLOw processing intervals are 10, 20, and 1000 milliseconds respectively.

scheduler 18 FAS=10 20 SLO=1000 &
The above spawns the scheduler at an execution priority of 18. The FASt, MEDium, and SLOw processing intervals are 10, 20, and 1000 milliseconds respectively.

scheduler 18 25 20 SLO=1000 FAS=10 WARP=2 &
The above spawns the scheduler at an execution priority of 18. The FASt, MEDium, and SLOw processing intervals are 10, 20, and 1000 milliseconds respectively. An additional interval of 2 milliseconds is assigned to the WARP value. NOTE: The value of 25 for the FASt interval when specified as a value will be overridden by the FAS=10 value. This is true for all entries, i.e. any specified value will be overridden by the option value (OPT=xx).

Notes:

Option values take precedence over positional values if both are provided.

See Also:

Master Scheduler