Start a conversation

Manually Scheduling a Server Task/Cron Job for Kayako Classic Download

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:

NOTE: To create a scheduled task, you will need administrative privileges and wget installed. You can get the wget from SourceForge.
  • 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 for wget.exe as well as the YOURDOMAIN 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:

NOTE: To create a cron job, you will require root-level permissions and wget installed.
  • 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 the YOURDOMAIN 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:

Back to top


 

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments