Working with the Task Scheduler
Overview
The Task Scheduler is the nervecenter of Urchin -- it is responsible for the actual scheduling and execution of Urchin log processing events for all Profiles. From the Scheduler, you can run tasks immediately or add them to the list of Urchin events for repeated execution at nearly any interval desired.
How to Use the Scheduler
- Log-in to Urchin 6 and click Configuration (upper right of interface).
- Locate the Profile you wish to schedule and click Edit.
- Click the Run/Schedule tab.
- Under Task Settings, select the desired interval. Daily is recommended.
- Set the time of day for the task.
- Click Update to save changes.
- To run the task immediately, click Run Now. Subsequent scheduled tasks will occur according to the schedule you have set.
Recommendations
- Most tasks should be scheduled for daily execution, since that is the log rotation schedule for many webservers. However, Urchin's log tracking facility makes it possible to read the same log multiple times without doubling data, so this is not required.
Notes on the Scheduler's Operation
- All tasks are handled sequentially by Urchin, so multiple tasks given the same time of execution will still be processed one at a time.
- To see the results of all tasks that have been executed, Scheduler then Task History in the left navigation.
Scheduler Sections:
- Profile Task Scheduler – The purpose of this screen is to display the Tasks that are scheduled to run for each Profile in the configuration. Several details are shown for each Profile, including the Profile Name, the run Frequency, the run Status (Not Scheduled, Pending, Queued, Running), and for running tasks, the percent completion and start time of the Task.
- Profile Task History – This screen lists the history of every Task that has executed via the Profile Task Scheduler or the Run Now button. A summary of the Tasks is listed, providing valuable information on each task. The Status field can be clicked to view the runtime detail for that historic task.
Geo-DB Download History (Urchin 6.500+) – Previously named geo-update, this section was part of the Profile Task Scheduler. This scheduler section displays every geo-DB download that has been performed via the Profile Task Scheduler. A summary of the downloads is listed, providing valuable information on each download. The Status field can be clicked to view the runtime detail for that historic task. Geo-DB download can be scheduled for download from Settings -> Global Settings -> Geo Data Update section. Also you can modify the CPC scheduler on Settings -> Global Settings -> CPC Source Update section.
CPC Download History (Urchin 6.500+) - The purpose of this screen is to list the history of every CPC download task that has been performed by the CPC Task Scheduler. A summary of the CPC download is listed, providing valuable information on each download. The Status field can be clicked to view the runtime detail for that historic task. The CPC source download can be scheduled for download in both ways - from CPC Source Manager view (CPC Source Managers -> Download or Edit-> Schedule tab -> choose download schedule or force download by clicking on Download now button).