Jump to content

Newb need help! How do I Set up Cron jobs


thunderesl

Recommended Posts

Hi guys,

 

Im a newb at whmcs. I am trying to install the Free Trial Addon which i got in the client area downloads. I followed the instructions and uploaded the files and i installed the addon in my whmcs admin area so i think that is working. But in the installation instructions it says i have to set up 2 cron jobs and i HAVE NO IDEA how to do this. PLEASE HELP.

 

 

thanks,

 

Vasilis

Edited by thunderesl
Link to comment
Share on other sites

http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/CronJobs

 

Login to your cpanel and click the cronjobs icon then follow the instructions below:

 

Cron Jobs

Cron jobs are scheduled tasks that take place at predefined times or intervals on the server. Often, a cron job is a series of simple tasks executed from a script file. cPanel offers a standard and an advanced tool for setting up cron jobs.

 

Both methods will require you to enter an email address if you want the cron job to email you results every time it runs.

 

Note: Be careful when scheduling cron jobs. Setting them to run too often may slow down your server.

 

 

The Standard Interface

The Advanced Interface

 

The Standard Interface

In this interface, the automation can be defined by entering a command into the appropriate box and using the lists to define how often the command should be run.

 

To set up a cron job using the standard interface:

 

1.If you want the results of the cron job emailed to you, enter an email address in the text box.

2.Next to Command to run, type the command you’d like to execute.

3.Enter the minute, hour, day, month, and weekday you’d like the cron job to run.

◦You can click Delete to start over.

4.Click Save Crontab.

 

•To return to the default settings at any time, click Reset Changes.

 

The Advanced Interface

In the Advanced interface, the schedule times are not pre-configured and must be defined using a series of text boxes.

 

To set up a cron job using the advanced interface:

 

1.If you want the results of the cron job emailed to you, enter an email address in the text box.

2.Enter the minute, hour, day, month, and weekday you’d like the cron job to run.

◦Asterisk (*) stands for every instance of a given category (such as every day or every minute).

◦Use 24-hour time to specify the hour.

◦Under day, enter the day of the month.

◦Under month, enter a number from 1 to 12. (1 means January and 12 means December.)

◦Under weekday, enter a number from 0 to 6. (0 means Sunday and 6 means Saturday.)

3.Under Command, type the command you’d like to execute.

4.Click Commit Changes.

 

•To return to the default settings at any time, click Reset Changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated