McIDAS User's Guide
Version 2015.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


SKE

Enters a McIDAS command in the system command scheduler.


Format

SKE day time repeat interval [keywords] "command


Parameters

day

day to initiate the command; valid date formats include YYYYDDD, YYYY/MM/DD, and DD/MON/YYYY where YYYY, DDD, MM, and DD are integers and MON is three or more letters, for example, JAN or JANUARY (default=current)

time

time to initiate the command, HH:MM:SS; use colons when specifying the time (default=00:00:00)

repeat

number of times to run the command; if you enter 999999, the word MANY replaces it in the header and the command is run until you suspend or delete it from the scheduler using the SKU command (default=1)

interval

time interval between commands, DDDHH:MM:SS; use colons when specifying the time; for one day, enter 24:00:00 or 100:00:00 (default=1 hour)

"command

command to run; the command length may be up to 160 characters (including spaces)


Keywords

FILE=

scheduler file name; see the Remarks (default=SKEDFILE)

ID=

number to identify the command in the scheduler; the range is 1 to 9999 (default=system assigned number)

NAME=

user name assigned to the scheduler entry (default=name specified at logon)

PROJ=

project number charged when you run the command (default=project number specified at logon)

TOL=

late tolerance, HH:MM:SS; if the workstation is down or too busy for the command to run, the late tolerance determines how much time can pass before the command is skipped; if 10 to 24 hours are specified, the word BIG appears in the header; three seconds (:00:03) is the minimum acceptable time (default=1 hour)


Remarks

The first line of output from this command indicates if the scheduler is on or off. Scheduled commands will run only if the scheduler is on. Use the SKU command to turn the scheduler on or off.

You can run multiple scheduler processes. Use the FILE keyword to identify the file name for the scheduler process. See the SKED command for more information.

To run a command stored in the workstation string table, precede the string name with two pound (##) signs. That is, enter "##string in place of "command. For example:

TE MAP "MAP MID

SKE 97300 12 "##MAP


Examples

SKE 97240 13:30 2 24:00 ID=3003 "IMGLIST GOES/VIS.ALL

This entry runs the command IMGLIST GOES/VIS.ALL at 13:30 UTC on each of two consecutive days (97240, 97241). The assigned ID for reference is 3003.

SKE #Y 09:05 999999 3 PROJ=7777 "SFCLIST KSTL OPTION=PRECIP

This entry runs command SFCLIST KSTL OPTION=PRECIP every three hours every day beginning with the current day at 09:05 UTC.

SKE 98001 0 999999 1 "RUN "PTABLE MID$(TIME$,1,2), "HOUR"

This entry runs the specified RUN command every hour, on the hour, beginning with day 98001 at 00:00 UTC. The RUN command sets the value of the string HOUR to the current hour for use in commands like PTDISP and PTLIST.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]