|Table of contents|
Kayako Fusion and Case operates an internal cron system which performs tasks such as POP3/IMAP mail fetching, system cleanups, follow-up ticket actions etc.
Your Kayako helpdesk needs to perform a variety of tasks at certain intervals, such as fetching email, cleaning up the database and checking for overdue tickets. To make sure these tasks run on time, there is a Scheduled Tasks system.
|Kayako On Demand customers can skip this section|
The section is intended for Kayako Download customers, who have opted to download and install Kayako software on their own web server environment.
The scheduled tasks system can also be described as a 'psuedo cron' system. Instead of a server's clock driving the cron, the passive actions of people using the helpdesk (logging in, clicking on things) triggers the scheduled tasks system to see if any tasks need running.
This may present a problem for a helpdesk which isn't very busy. If no one is using the helpdesk, there won't be anything to trigger the scheduled tasks system. This can be solved by driving the scheduled tasks system in your helpdesk using your web server's cron system (Task Scheduler in Windows or crontab in Unix).
See Setting up a server cron or scheduled task for more information.
To view and manage scheduled tasks, Click on Manage under the Scheduled Tasks menu in the Admin CP of the help desk. A list of all the installed scheduled tasks and their statuses will be displayed.
The various tasks are described as follows:
| Daily system cleanup
|| This Cron clears the unverified users displayed in the Staff Control Panel under Users >> Manage Users. You can specify the time after which the unverified users should be cleared under, Admin Control Panel >> Settings >> Users and Organizations >> Auto Clear.
| Hourly system cleanup
|| This Cron removes the users idle sessions from the system. You can specify the time after which the idle user session should be cleared under, Admin Control Panel >> Settings >> Security >> Default Session Inactivity Expiration.
| Core daily sync
| Core hourly sync
| Core minute sync
| Core monthly sync
| Core weekly sync
| Live chat Cleanup
||This Cron will clear all the redundant/idle live chat connections. The live chat connections will be marked as idle after the time defined under Admin Control Panel >> Settings >> Security >> Session Inactivity Expiration For Site Visitors, and their sessions will be deleted after this much time.|
| Synchronize news RSS feeds
| Fetch emails (POP3/IMAP)
|| This Cron cycles through each e-mail queue that has been configured under Admin Control Panel >> Mail Parser, to poll a POP3 or IMAP e-mail box , so as to import the e-mails and parse them as tickets.
| Email parser Cleanup
|| This Cron will clear the mail parser logs that are under Admin Control Panel >> Mail Parser >> Parser Log. You can specify the time after which the mail parser logs should be cleared under, Admin Control Panel >> Settings >> CPU Optimization & Server >> Log Clearing Time and Admin Control Panel >> Settings >> Mail Parser >> Parser Log Options.
| Run scheduled reports
| Auto close tickets
| Run ticket follow-up tasks
|| This Cron task processes all of the scheduled follow up actions that have been queued for tickets. The ticket Follow-Up can be configured in the Staff Control Panel during creating a new ticket or editing an existing ticket.
| Ticket tasks (SLA escalations, cleanup, etc)
| Search Engine Re-Indexing
||This Cron collects, parses, and stores data to facilitate fast and accurate information retrieval.|
| News Synchronization
||This Cron will synchronize the support desk news with the news feeds defined under, Admin Control Panel >> News >> Settings >> Synchronization Settings.|
| Ticket Module Actions
||This Cron is used to execute the ticket escalation rules that are defined under, Admin Control Panel >> Escalations.|
|All tasks are enabled by default, except for the POP3/IMAP Fetching task. For POP3/IMAP fetching task, clients are recommended to configure cron job/schedule task on their systems so that the mail parser script gets executed after certain interval of time (defined in crontab/schedule task configuration file) and fetch the emails in to the help desk.|
To forcefully run a scheduled task (regardless of the task's next run time), check the corresponding Title box and click Execute icon. Following is an example shown to forcefully run the cron for "Search Engine Re-Indexing."
|A task's run time can not be changed from the admin control panel. A task runs at the time specified under the "Runs Every" column, if not executed manually.|
The task will get executed and you will get a success message
You may also execute multiple crons in a single instance. For that you need to check the corresponding Check boxes and click Execute.
For example, you need to execute Daily System Cleanup, Hourly System Cleanup and Search Engine Re-Indexing, then you need to select the corresponding Title boxes and click Execute.
The tasks will get executed and you will get a success message.