(Available in EFT Server Enterprise) 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.
The PCI DSS requires that you develop a data retention and disposal policy. With the Clean-up Action, you can configure EFT Server to clean up a specified folder at regularly scheduled intervals. If PCI mode was selected during Site setup, the Data Retention and Disposal dialog box appears in which you can create a Scheduler Timer Event with the Clean-up Action to delete files matching the expressions you specify. You can also choose to define it in the administration interface on existing Sites.
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
Follow the procedure in Creating Event Rules.
In the Create New Rule dialog box, click Scheduler (Timer) Event, then click OK. The new Rule appears in the Rule pane.
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.
In the Scheduler dialog box, specify the parameters of the Timer Event: the Run frequency, whether to exclude holidays, when the Event should start, date the Event should end (optional), time the Event should end (optional), and recurrence frequency (optional). (When the End date is reached, the Rule will remain active in the Event Rule list, but will no longer execute any Actions.)
Once—The Event runs one time at a specified date and time, and never repeats. (e.g., Monday, September 27, 2010 at 8 AM)
Continually—The Event starts at a specified date and time and repeats every <n> Hours, Minutes, or Seconds. (e.g., Monday, September 27, 2010 at 8 AM and every hour thereafter)
Daily—The Event runs every <n> days or every weekday, starting at a specified date and time, and ending on a specified date and time or repeating every <n> hours, minutes, or seconds. You can also exclude certain holidays and/or end the recurrence of the Event at a specified date and time. (e.g., Every weekday, excluding US holidays, starting Thursday, Monday, September 27, 2010 at 8 AM and every hour thereafter)
Weekly—The Event runs every <n> weeks on a specified day(s) of the week, starting at a specified date and time and ending on a specified date and time or repeating every <n> hours, minutes, or seconds. You can also exclude certain holidays and/or end the recurrence of the Event at a specified date and time. (e.g., Every 2 weeks on Monday at 8 AM starting on Monday, September 27, 2010, with no defined end date)
Monthly—The Event runs on the <n> day of every <n> month(s) or the <nth> day of the week of <n> month(s) starting at a specified date and time and ending on a specified date and time or repeating every <n> hours, minutes, or seconds. You can also exclude certain holidays and/or end the recurrence of the Event at a specified date and time. (e.g., The first day of every month, starting on Friday, October 1, 2010 at 8:00:00 AM, excluding US holidays with no defined end date)
Yearly—The Event runs every <month> <day> or on the <n> <day of the week> of <month> starting at a specified date and time and ending on a specified date and time or repeating every <n> hours, minutes, or seconds. You can also exclude certain holidays and/or end the recurrence of the Event at a specified date and time. (e.g., The first Monday of December, starting on Monday, December 6, 2012 at 8:00:00 AM, excluding US holidays with no defined end date)
Custom—The Run Day Calendar appears in which you can specify a date. (Past dates are dimmed and not selectable.)
Click to select the date(s) to run the Event. Selected dates are highlighted in green. Click the date again to clear it.
Click the right arrow to advance the calendar to the next year (up to 2037); click the left arrow to go back. Or click the name of a month to display the same month in subsequent years. With the month name selected, move the cursor up or down to scroll through the years, then release the cursor to select the year. (For example, click October 2010 to jump to October 2012. The entire calendar jumps, not just the selected month.)
The Propagate selected date(s) to all subsequent years check box is selected by default. Clear the check box if you do not want the Event to run on the same date every year.
After you select one or more dates to run the Event, you can save the schedule by clicking Save. In the Save Calendar box that appears, provide a name for the calendar, then click OK. The calendar is saved and its name appears in the Run box. You can edit your custom calendar by click the ellipsis button next to the Run dialog box. (Up to 100 custom calendars can be saved and/or displayed in the Run box.)
You can Export your custom calendar (as <name>.csv) and Import custom calendars. After importing a custom calendar, you can use Save As to save it with a new name, Rename it, or Delete it from your custom calendars. (A confirmation prompt appears when you click Delete.)
Specify the Action to occur when this Event is triggered.
Click Run Now to test your Rule.
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 the EFT Server administration interface 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. |
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.
Click Apply to save the changes on EFT Server.