|
|
||||||||
|
SchedulerOmniscope SchedulerThe Scheduler is an automation tool that comes with Omniscope Enterprise Edition. The Scheduler is a graphical application requiring no commands or development skills. The Scheduler allows you to define a number of highly customisable tasks according to a recurring schedule. These tasks are typically related to .IOK /.IOM files, involving actions such as refreshing data and distributing updated .IOK/.IOM or DataPlayer .SWF files. Scheduler tasks can also include more complex integration actions such as deploying a time-stamped file to a server or downloading a .CSV file. The Scheduler is configured using existing Omniscope .IOK/.IOM files which act as Templates configured as you want all future refreshed files to appear. The Scheduler manages future updates to these files from the defined data source(s) according to a schedule. The Scheduler can also manage distribution of the refreshed files by email or FTP it to a website, or add timestamps (for example), as part of the schedule. The Watch folderThe Omniscope Scheduler includes other processes as well as the scheduling loop. One of these is the 'watch folder' process. This process watches a folder continuously while the Scheduler is running. Any Action.XML files dropped into this folder are removed and executed immediately. More information Installation and requirementsThe Scheduler installer is included in the installation file, but is a separate application found in the Visokio installation group folder accessed from the Windows Start button. The Scheduler is time-triggered, intended to be installed on a continuously-running Windows server (or any spare PC), and requires a user to be logged in to run. Please note:
Concepts/DefinitionsTo configure the Scheduler, the following concepts/definitions are required:
Note: If you configure two tasks with the same time, or if a preceding task takes a long time, the second task will not start until the first task has finished. Using the SchedulerThe Scheduler is a separate application that is started from the Windows Visokio Program Group. The Scheduler is not started from within another Visokio application. You can have only one instance of the Scheduler running at a time. When you start the Scheduler, this small window is displayed, and after a short pause, the Scheduler window will appear:
Scheduler Configuration DialogueThe tasks currently scheduled are displayed like this: ![]()
Starting with version 2.3, the Visokio Scheduler can be used in a "non-forked" mode enabling non-forked task execution. In the Scheduler settings dialog, "Fork scheduled execution", when un-ticked, allows scheduled tasks to execute in the same Java VM process as the Omniscope scheduling loop. This avoids the JVM startup time which can save over 10 seconds. Additionally, a timings option has been added to "chain action" and "file action" allowing you to analyse performance.
Configuring Scheduler ActionsExamples: Below we list a number of worked examples showing how to use the Scheduler for specific actions in downloadable .ZIP files: Example 1: Live Publishing
General Procedure- types of Scheduler actions:
First choose the type of action. The most common action to use is File Action
Configuring a File ActionChoose the source file (for example, an .IOK file that you want to refresh and save), by clicking Choose. Then add the other operations you want.
![]() Scheduler Task Dialogue-Edit TaskThe Edit Task dialogue is shown below:
![]() In this example the Action is a Chain of actions action.
The Schedule section lists the recurrences configured. Here, one recurrence is defined: "every 15 minutes". You can configure multiple recurrences, such as "Every week starting 1 Feb 06" and "Every week starting 2 Feb 07", meaning every Wednesday and Thursday of the week. (See the Scheduler Recurrence dialogue below) The Time out can be used to ensure hung tasks do not hang the scheduler. If a task takes longer than this period, it will be killed, allowing subsequent schedules of the same task or other tasks to continue. You may need to increase this if you are running very long and complex actions.
Scheduler Recurrence Dialogue
The Recurrence dialog allows you to specify a simple repetition according to a specified period of minutes, hours, or days, etc. If you want more complex schedules you must create multiple recurrences. For example, weekdays would be represented by 5 recurrences each beginning on a different weekday. Knowledge Base Top |







