E-mail download (CRON)

2 posts / 0 new
Letzter Beitrag
hansvdput
Offline
Last seen: vor 9 Jahre 4 Monate
Joined: 07/11/2014 - 14:07
E-mail download (CRON)

Hello,

I am having trouble getting a CRON ready for my helpdesk system.

I have installed the latest version of Katak Support systeem.

My support systeem automatically downloads e-mail from an IMAP server when a user (admin)logs in.
It is possible to automate this with the use of CRON jobs.

I have no idea how to set-up this CRON job. Is there anyone who can help me with this?

I am working on a Windows Server 2008 R2 with IIS installed.

Hoping someone can help me with this. Thank you.

Tomark
Offline
Last seen: vor 11 Monate 1 Woche
Joined: 14/01/2013 - 16:00

Unlike email piping, e-mail polling requires that a mail fetcher (script) be scheduled for repeated execution in order to receive e-mail as tickets. The simplest solution is to enable tha auto cron in Staff Panel - Settings. In this way you have the mail collected every time an operator logs in.

Another solution is to activate a cron job. On a Windows server, if your hosting provider allows it, the most convenient method is scheduling a recurring tasks via "Scheduled Tasks". The task should call the file http://domain/path_to_katak/api/cron.php. Please refer to your hosting manual or contact your hosting provider for instructions.

Some hosts do not allow adding cron jobs, and instead only allow you to run scripts located at a publicly accessible URL. In this case, you will schedule the task using your webhost's scheduling interface.

To prevent unauthorized execution of scripts from the outside, Settings => API has rules for allowing external access based on originating IP and an API "passphrase", which is actually the User Agent string of the agent trying to access cron.php on your web server.
If the User Agent string is not changed to the API key, the request will be denied, and an API error will appear in your system logs under the Katak-support dashboard.
If your host allows you to modify their schedulers User Agent string, then change that to the API key and add your webhost scheduler's IP to Settings => API => API Keys.