Scheduler (Timer) Event

The Scheduler (Timer) Event allows you to execute a specified Action (e.g. send an e-mail or a report) only one time or to recur at specified intervals. For example, you could schedule the Clean Up Action to occur on July 8 at midnight, or every Monday morning, or on the last Friday of every month at 2 a.m.

A recurring Timer does not stop recurring if the Rule Actions fail; it will recur as scheduled until you disable or delete the Rule. For example, suppose you want to download a file from a remote server, delete the file from the remote location after transfer, then send yourself an e-mail. If the file that you want to download is not yet in the remote directory, the Rule will fail for that particular instance of the Timer running, but it will run again at the next scheduled time (e.g., every four hours). In the case of Timer Rules, "Stop processing this rule" means "do not execute any further Actions with this Rule" (such as sending an e-mail), but it does NOT mean that the Timer will stop. For example, if you have defined the Rule to run every hour, the Timer Rule will fail when the file is not in the remote location, but the Timer Rule will run again the next hour, and the next hour, and so on, until you tell it to stop (by manually disabling it).

You can use the Event Rule to execute a script that accesses a remote server, downloads a file, deletes the source file, and then disables the Rule (through COM), but the purpose of Event Rules is to not require a script.

To define a Timer Rule to download a remote file

  1. In EFT Administrator, connect to EFT Server and click the Server tab.

  2. Do one of the following:

  3. The Create New Event Rule dialog box appears:

  4. In the Event Rule Name box, type a descriptive name for the Rule.

  5. In the Description box, enter any notes about the rule, such as "Scheduling." You can edit these notes later in the Comment area for the Rule.

  6. In the Select event trigger box, click Scheduler (Timer) Event, then click OK. The new Rule appears in the Rule pane.

  7. The Rule is defined by default to trigger each hour starting on the date that you create the Rule. To change the start date, start time, recurrence pattern, and/or interval, in the Rule pane, click repeat each 01:00:00. The Timer Event dialog box appears.

  8. Specify the start time, start date, and recurrence pattern (frequency). The following recurrence options are available:

  9. Click OK. The changes appear in the Rule pane.

  10. Specify the Action to occur when this Event is triggered, such as executing a script.

  11. Click Run Now to test your Rule.

  12. When you create a Timer rule, the Run Now button appears at the bottom of the Rule pane. When you click Run Now, EFT Server executes any actions associated with the Event, and any Rule construction errors are identified. You cannot perform any other operations in EFT Administrator while EFT Server tests the Rule. Multiple synchronous Actions defined in the Rule, such as move, copy, or download, take longer to test than asynchronous operations such as e-mail notifications.

  13. If there are no errors, a confirmation message appears asking you to verify the expected outcome. Click Continue to execute the Rule or Cancel to refine the Rule.

  14. Click Apply to save the changes on EFT Server.