Set up a rule to perform a task on a schedule that is created by another rule.
You cannot use the Timer (Scheduled) flow action to repeat an action on a specific schedule—for example, to send an e-mail every Sunday at midnight.
To set up a recurring scheduled task, consider using the scheduler in your Microsoft Windows operating system to send a remote trigger to the rule set that contains the task. Prinergy can perform the action (for example, e-mail a text file) on a schedule that is created by another rule, and can trigger the schedule automatically.
How it works:
A rule ends in the Execute Command action, which runs a Windows AT command (in a batch file or not) to create a scheduled task. The scheduled task runs a batch file that starts the RaiseEvent tool, which creates a Remote Trigger, which starts a rule.
RaiseEvent.bat
on the Prinergy server. This batch file should be written so that it sends a remote trigger to start the rule that you created in Step 1. For example:"d:\Program Files\Kodak\RBA\bin\raiseevent.exe" "Test\RemoteTrigger" -host <HOSTNAME> -port 61235 -context Test
<HOSTNAME>
is the name of the Prinergy server. (Do not include < or > as part of the server name.)CreateTask.bat
on the Prinergy server. This batch file should be written so that it creates a scheduled task to run the RaiseEvent.bat
file that you created in Step 2. For example:AT 23:54/NEXT "D:\Documents and Settings\<FOLDERNAME>\Desktop\RaiseEvent.bat"
CreateTask.bat
file that you created in step 3.