Setting up a cron job
Cron jobs are a great way to have tasks repeat at regular intervals automatically, whether that be checking something, sending something or fetching something!
Generally you'll have a script written to complete the specified task (here at BetterWebSpace we write most of ours in PHP).
- Login to your cPanel.
- Click on "Cron Jobs" under the advanced category.
- Fill in the required information for how often you want the cron job to run (or use "Common Settings" to populate most of the fields).
- In the command section fill in the name of the command you want to execute, for example a PHP script:
php -q /home/ACCOUNTNAME/public_html/script_in_my_home.php
Was this answer helpful?
The Index Manager allows you to customise how your directories are seen on the web if they do not...
There are so many different types of SSL certificate and information about them in the...
The server uses error pages to display to a user when it encounters an error with what they are...
This article is to assist customers who point either their A or MX records (or any other records)...