Overview
A lot of Kayako Classic's functionality relies on a schedule of internal tasks that do things like fetch emails, perform system cleanups, execute ticket follow-ups, etc. However, this internal system does not run continuously. It is only triggered when the Staff Control Panel is accessed.
In a busy helpdesk, that is no problem. However, if your helpdesk activity is pretty light, then you might miss out on emails, follow-ups, or other time-sensitive activities.
To keep your Kayako Classic Download helpdesk firing on all cylinders, you should create a scheduled task (Windows) or cron job (Linux/Unix) that loads the /cron/index.php
every 10 minutes, to make sure everything keeps ticking along.
To make sure your Download helpdesk runs more-or-less continuously, schedule a task or cron job on the server you use to host Kayako Classic.
The specific process for creating a task/job on your server varies significantly, depending on the platform and configuration tool you use. We will go through the basics for Windows and Linux, followed by in-depth documentation links for a variety of standard configuration tools.
Information
For Windows Servers:
- If you are using the command line, create a new task with the
schtasks
command:
schtasks /create /sc minute /mo 10 /tn "Kayako Classic Cron" /tr "<PATH-TO-WGET>\wget.exe -q -O nul --no-check-certificate https://<YOURDOMAIN>.kayako.com/cron/index.php?/Parser/ParserMinute/POP3IMAP"
NOTE: Make sure you update the path forwget.exe
as well as theYOURDOMAIN
in the Kayako URL. - If you are using the Task Scheduler application, follow the prompts to build a task that fires every 10 minutes and uses wget to load the
https://<YOURDOMAIN>.kayako.com/cron/index.php?
page. - You can read more about creating scheduled tasks in the Windows server documentation: Schedule a Task.
- Instead of using wget, you can also use a windows-based tool to fetch the endpoint, such as Invoke-WebRequest in Powershell.
For Linux/Unix Servers:
- If you are using the command line, add a new line to your
crontab
file that reads:
*/10 * * * * wget -O /dev/null --no-check-certificate https://<YOURDOMAIN>.kayako.com/cron/index.php?/Parser/ParserMinute/POP3IMAP
NOTE: Make sure you update theYOURDOMAIN
in the Kayako URL. - You can read more about cron jobs in the Unbuntu community documentation: CronHowto
Other Server Configuration Tools
Many server configuration dashboards let you create server tasks with a GUI tool. Below are the links to the documentation for a handful of common tools: