To create a new schedule, follow these steps:
Select File | New.
To add an event to this schedule, click the clock icon or select Event | Add.
The Event Properties window appears.
In the Action tab, type a description of the event in the Description field, for example “Production”.
In the Action field, keep “Run Program” selected. (There are no other choices at this time.)
In the Command Line field, enter a command such
as wsproces production.pfs
.
In the Working Directory field, list the UNIX directory that contains the .pfs file.
Click the Schedule tab. The Schedule tab appears.
Specify how often you want your event to run. Click on the Options tab. The Options tab appears.
Use the table below to help you fill in the fields on the Options tab.
Field name |
Description |
---|---|
Enable this event |
Activates or deactivates the event. The event is active when this box is checked. |
Execute |
Runs this event even when it is past due. This option is enabled when this box is checked.This option is useful if you do not have Scheduler running continually. |
Reschedule |
Reschedules this event without launching it if it is past due. This option is enabled when this box is checked. |
When you are finished with the Options tab, skip the Keys and Duration tab because they are not available to EC Gateway for UNIX. Click on the Conditions tab. The Conditions tab appears.
If you selected Condition for your Schedule Frequency,
then you must set the elements on this tab. If you selected One
Time or one of the Schedule Options (daily, weekly, and so on),
then you can specify whether to enable, disable, or directly launch
the event from the Condition tab.
Use the table below to fill in the fields on the Condition tab.
Field |
Description |
---|---|
Enable Condition |
By default, there are no conditions and an event will run on schedule as was specified in the Schedule tab. Check this box to define special conditions under which this event is to run, and/or which action the event is to perform. |
Condition |
There are several conditions that you can select by using the drop down list. This is the actual condition that will trigger the defined action. The conditions available are File Access, File Change, File Change and Not Locked, File Does Not Exist, File Exists, and File Exists and Not Locked. |
File |
Depending on the condition you choose, you will have to enter additional information. If you select File Change, you have to enter the path and name of the file. The text box under the Condition list is where you enter this other information. |
Frequency |
Defines how often to apply this condition to this event. If you select Once, then Scheduler will only apply this condition to the next time it runs. The condition will not be applied to determine whether or not this event should run. If the Every Time button is selected, then the condition will apply to each time this event is launched. |
Action |
Specify what to do for this condition. You can request that Scheduler disable or enable the event, or actually launch it. If the event was configured with a Condition for Schedule Frequency, then Enable Event and Launch Event both trigger the event immediately. |
Task Button |
Brings up the system task list to allow you to select a running application or window for the Name edit box. |
Reset Button |
Allows you to quickly reset the condition as it was previously defined. |
You are finished.