Support Account posted on May 07, 2010 13:32

To setup the cron jobs required by WHMCS to automatically process invoices & import support tickets that were sent by email you will need to set up 2 scheduled tasks using Plesk.
NOTE: This tutorial was done using Plesk Version 8.6 on a Windows server but should be roughly the same in other versions of Plesk.
STEP 1:
Login to Plesk as an "administrator".

STEP 2:
Click on the "Server" administration link.

STEP 3:
Click on "Scheduled Tasks" icon.

STEP 4:
Click on the "Add New Task" icon.

STEP 5:
Add the WHMCS cron using the settings below to run the scheduled task at 1:01am every morning & then click the "OK" button to save the task.

SWITCHED ON = TICKED
DESCRIPTION = WHMCS CRON
SCHEDULER NOTIFICATION = SEND TO DEFAULT EMAIL
PATH TO EXECUTABLE = %plesk_dir%Additional\PleskPHP5\php.exe
ARGUMENTS = C:\Inetpub\vhosts\yourdomain.com.au\subdomains\support\httpdocs\admin\cron.php
(NOTE: This is the full path to your "cron.php" file located in your WHMCS\admin directory)
MINUTES = TICK 1 ONLY
HOURS = TICK 1 ONLY
DAYS OF MONTH = TICK ALL
MONTHS = TICK ALL
DAYS OF WEEK = TICK ALL
STEP 6 (ONLY REQUIRED IF YOU ALLOW SUPPORT TICKETS TO BE STARTED/REPLIED TO VIA EMAIL):
Click on the "Add New Task" icon.

STEP 7 (ONLY REQUIRED IF YOU ALLOW SUPPORT TICKETS TO BE STARTED/REPLIED TO VIA EMAIL):
Add the WHMCS pop import cron using the settings below to run the scheduled task every 5 minutes & then click the "OK" button to save the task.

SWITCHED ON = TICKED
DESCRIPTION = WHMCS POP IMPORT
SCHEDULER NOTIFICATION = DO NOT SEND
PATH TO EXECUTABLE = %plesk_dir%Additional\PleskPHP5\php.exe
ARGUMENTS = C:\Inetpub\vhosts\yourdomain.com.au\subdomains\support\httpdocs\pipe\pop.php
(NOTE: This is the full path to your "pop.php" file located in your WHMCS\pipe directory)
MINUTES = TICK EVERY 5 MINUTES
HOURS = TICK ALL
DAYS OF MONTH = TICK ALL
MONTHS = TICK ALL
DAYS OF WEEK = TICK ALL