Event Scheduler
Previous Topic  Next Topic 

The Event Scheduler tab enables you to run a schedule automatically at preset times.  Up to three times per day can be defined for a schedule run.  The Event Scheduler is defined for one user on whose computer the schedule run will take place.


For the Event Scheduler to occur, the user who will perform the schedule must be logged into DMS at the time when the schedule is to be run.  It does not matter which computer the user is logged onto, as long as they are actively logged in when the Event Scheduler wants to run.  If the user is not logged on, the Event Scheduler will not be run.  Missed events are not reported and missed events are not rescheduled for a future time. 


DMS checks for an Event Scheduler every 30 seconds.  When the event schedule start time matches the computer's clock during the 30 second check period, DMS will start a schedule run by creating a new instance of the Schedule.  The current computer's date plus the number of days to add defined for the event is used as the schedule start date. The start shift, hours into the shift, and the schedule command entered for the Event Scheduler are used to fill in the prompts for a typical schedule run.  The Schedule Options are used for the other schedule run parameters.


Once the Event Scheduler run has completed, the schedule window is automatically closed.  To check if an Event Scheduler took place, you can check the Schedule History where the Event Scheduler run date and time will be logged.


You may wish to setup the server or another computer with DMS running and logged in as a user named something like "Event User".  You can then assign the "Event User" to run the Event Scheduler independently of all other DMS workstations.


See Event Scheduler Rules below for more information.


The example below shows the Event Scheduler tab:




The Event Scheduler tab information is as follows:


  1. Enable event schedule for user  To enable the Event Schedule, check the box and enter the user name you want to run the event.  Valid users are listed in the drop down box.  To disable the Event Scheduler and leave all other information intact, simply uncheck the box at the start of the prompt.
  2. Recurrence Pattern:
    1. Days of the week  Select the days of the week you want the Event Scheduler to run.
    2. Use Start Time  There are up to three start times per day.  Select the start time you want to use by checking the box next to the user start time prompt.
    3. Schedule Start Time  For each start time selected, enter the start time.  Seconds are ignored when the start time is compared to the computer's clock.
    4. Schedule Start Date The schedule start date can be Today (meaning the current computer date) up to Today + 6 (current computer date plus 6 days). 
    5. Start Shift  Enter the start shift of 1, 2 or 3 for each start time selected.
    6. Hrs Into Shift  If the schedule will be part ways into a shift for any of the start times selected, enter the hours into the shift for the start time to use.  Otherwise the hours into shift should be set to 0.
    7. Schedule Command  There are three schedule commands available; Finite, Infinite, and CRP.  Select the schedule command you want to run for the given start time.
  3. Range of Recurrence:
    1. No end date  If you want to continue to run the Event Scheduler without an end date, click on the No End Date prompt.
    2. End by  If you want to stop the Event Scheduler from running after a certain date, click on the End By prompt and enter the date at which you would like the Event Scheduler to stop running.
  4. Click OK to save the new event schedule.  Click Cancel to cancel the changes.


Note the following rules:


  1. If the computer that is to run an Event Scheduler is tied up performing another Windows task that prevents DMS from running the event timer, the event schedule will not execute.
  2. For the event schedule to occur, the user who will perform the schedule must be logged onto DMS at the time when the schedule is to run.  It does not matter which computer the user is logged onto, as long as they are actively logged in when the even schedule wants to run.
  3. The user password who will run the Event Scheduler must have access to the Schedule or Event Schedule will fail.
  4. After a schedule run the event timer waits 60 seconds instead of the usual 30 second before checking for another event schedule.  This prevents the schedule for accidentally running two or more times in a row if a very short schedule run occurs.
  5. Missed events are not reported and missed events are not rescheduled for a future time.
  6. Only one user can be designated as the user who will run the Event Scheduler.
  7. Each dataset is independent and has its own Event Scheduler.
  8. DMS users should avoid running a schedule around the time the Event Scheduler is to run or the event will not take place; only one user at a time can run a schedule on a dataset.


Also see Automatic Execution Commands