Cron Jobs allows you to automate certain scripts on your website, which will be execute at your chosen period (every day, every week and etc)
In order to create a periodic task (cron job) in cPanel, follow the guideline:
First, you need to connect to your cPanel dashboard, which you can do by following steps:
- Log in to your account in our Clients Area: https://billing.hostens.com/clientarea
- Choose your Web Hosting(cPanel) service;
- Press the button “Access Control Panel” on the left menu and then the button “Click here to access control panel“.
Scroll a little down in the main Dashboard and choose “Cron Job” at the “Advanced” section. You will be presented with a menu to create your cron job:
If you are interested to get notified every time the cron job has executed, you may enter your email address at the line “Email” and press the button “Update Email“.
After that you will need to set the time period, how often and when will the cron job running. This can be set by choosing one of suggested periods at “Common Settings” drop-down menu. If you want to manually set the time period, you can do it by manually entering the values at the following fields: Minute, Hour, Day, Month, Weekday.
Once you chosen the time of your cron jon, you will need to provide the script path. This means, where the actual script file has been stored on your server (for example “
/home/giehamst/public_html/path/to/cron/mycronjob.php") and press the button “Add New Cron Job“.