© 2017 BY Purple Oyster

Using the Scheduler

The scheduler is the component of Duke that retrieves data from SharePoint and saves it to the Duke database.  The scheduler controls how and when snapshots execute and displays notification messages to show how the snapshot is progressing.

When you start Duke, the scheduler is not running; before snapshots can begin executing it must be started by clicking the Start button in the Scheduler ribbon group.

Once the scheduler is running it will scan the list of incomplete schedules and start those that are due to run and are in one of the incomplete status values.

Notification Messages

Each snapshot displays progress information in the notification area - for more information, see Application View.

Stopping the Scheduler

Click the Stop button (shown above) to send a stop request to the scheduler.  This may not happen immediately - having received a stop request the scheduler in turn sends stop messages to each of the running snapshots.  Depending on what the snapshot is doing, it may take a few seconds for it to stop.  For example, if the snapshot is currently receiving large amounts of item data from SharePoint, it will complete that action before stopping.

If you wish to stop an individual snapshot rather than stopping them all, use Stop menu item on the Review Snapshots context menu.


The scheduler checks the snapshot queue every few minutes for new snapshots that may be ready to start.  If a new snapshot has been added it may be frustrating to have to wait for the scheduler to check the queue and start the snapshot automatically, so the Poke option can be used to tell the scheduler to check immediately. 

Poking the scheduler causes one immediate check of the snapshot queue but does not otherwise affect the regular process.  If you were to add another new snapshot you would either have to wait for the automatic check or poke again to get it to start immediately.