Cron/Windows Scheduler

 

Cron Jobs allow you to schedule a job that needs to be executed periodically. It is a process that runs in the background and performs a specified operation at predefined times - for example, to send out a notice every morning. The Scheduler enables the database administrators and application developers to control various tasks, and when or where they should take place. There are certain scripts in e11 help desk software that are required to be executed periodically for performing certain operations such as, downloading support email, implementing system rules, etc. However, it depends on the user requirements, how frequently these scripts need to be scheduled for particular activities that have to be performed. The four jobs that need to be scheduled on application server are:

 

1.      admin/clientinactiontrgrule.php: To  keep a track of all actions of the client. Ideally, this should be scheduled at 5 mins.

2.      admin/parareport.php: To generate reports in periodic intervals set in the rule. Ideally, this should be scheduled at 24 hrs.

3.      admin/escalaterule.php: For proper functioning of the escalation rule. Ideally, this should be scheduled at 5 mins.

4.      admin/downloademail.php: This is required to schedule the downloading email tasks. However, scheduling this task is optional. This is relevant if you are using e11 help desk software to manage your entire support request coming through email as well. Ideally, this should be scheduled at 30 mins.

 

To schedule task, follow these steps:

 

1.      Click on Start. Go to Settings.

2.      Open Control Panel - Scheduled Tasks - Add Scheduled Task. This will open Scheduled Task Wizard, as shown in Figure 10-8-1.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-1: Scheduled Task Wizard

 

3.      Click on Next.

4.      Select the program in which application should run, as shown in Figure 10-8-2. In case program is not available in application list, click on Browse to select the appropriate program.

 

Note: You can select either Internet Explorer or PHP to schedule tasks.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-2: Select program to run application

 

5.      Click on Next and then type the name of the task.

 

Note: The task name can be the same as the program name.

 

6.      Depending on the requirements, select the duration of the task, as shown in Figure 10-8-3.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-3: Select duration of the task

 

7.      Click on Next.

8.      Select the time and date, for the task you want to start, as shown in Figure 10-8-4.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-4: Select Time and Day to start the task

 

9.      Click on Next.

10.  Enter your user name, password and then re-confirm the password.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-5: Enter Username and Password

 

11.  Click on Next.

12.  Select the option Open advanced properties for this task and click on Finish.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-6: Advanced Properties Option

 

13.  Depending on the program you have selected, type the complete path of the task to be scheduled in Run field.

 

Help Desk Software, helpdesk software, customer support software, customer service software, trouble ticket software, knowledgebase

Figure 10-8-7: Task Tab in Advanced Properties

 

14.  Click on Apply and then click OK.

 

You can now view scheduled task under Scheduled Tasks folder. This will make Windows to automatically perform each task at the scheduled time.