McIDAS Programmer's Manual
Version 2003
[Search Manual]
[Table of Contents]
[Go to Previous]
[Go to Next]
SKEDFILE
Scheduled McIDAS-X commands.
This binary file has 7172 words and is divided into two sections.
- The first section contains basic directory information for the scheduler entries. The scheduler (SKED) uses this section to quickly scan all entries to decide which are due to run.
- The second section contains additional directory information and the text of the McIDAS-X command for each entry. This section is read when listings are made or a command is ready to run.
The file division is invisible to all parts of the schedule system accessing the file via the ID number.
For scheduled McIDAS commands Application Program Interfaces (APIs), refer to the API functions list at the end of this section.
Word allocation for the file
Word
|
Description
|
0 - 7
|
unused
|
8 - 807
|
first section of scheduler entry information
|
808 - 871
|
unused
|
872 - 7171
|
second section of scheduler entry information
|
Word allocation for the first section
This section contains eight words for each entry (maximum of 100).
Word
|
Description
|
0
|
time of the next scheduled run; all times are kept internally, in seconds, since 1 January 1972
|
1
|
number of runs remaining
|
2
|
interval between runs
|
3
|
late tolerance if the scheduler is delayed
|
4
|
terminal at which the command runs
|
5
|
ID number or name assigned when the command is entered in the schedule
|
6
|
initials of the person who entered the command in the schedule
|
7
|
project number under which the command runs
|
Word allocation for the second section
This section contains 64 words for each entry.
Word
|
Description
|
0
|
time that the command first runs
|
1
|
total number of times the command runs
|
2
|
unused
|
3 - 63
|
text of the McIDAS-X command
|
API functions
Function
|
Description
|
skio
|
schedule file I/O routines
|
[Search Manual]
[Table of Contents]
[Go to Previous]
[Go to Next]