A cron job is a command, that works conveniently in the background over a predefined period of time and it executes a script inside a website hosting account. There won't be any restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Some examples are mailing an everyday report which contains all the client activity within a specific website, creating a regular backup or erasing the files in a particular folder. These kinds of tasks or any other script can be executed on time intervals picked by the user - each few minutes, hours or days, and even every month or once per year according to the exact intent. Working with cron jobs to speed up various aspects of administrating a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

If you get any of our shared hosting packages, you're able to create cron jobs with a couple clicks via your Hepsia Control Panel even if you have not done that previously. Hepsia is really simple to use, so instead of writing numbers and asterisks on particular places, which is the common way to assign a cron job, you will be able to pick the days, hours or minutes a script should be run using very simple drop-down navigation. The latter is done from the Cron Jobs section of the Control Panel and, naturally, you can use the first method too, when you are skilled enough and you prefer it. In both cases, you'll need to enter the path to the script which will be executed and the path to the PHP, Python or Perl system files in your account. The aforementioned is available in the Control Panel and you are able to copy/paste it, but if you experience any difficulties, you can always contact your support team.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you just need to pick the directory path to the script file to be run as well as the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You are able to find the latter inside the Control Panel, thus you can copy and paste it with several clicks. Then, choose the time interval for the cron through drop-down navigation for the months, days, hours or minutes and you're all set. Our cron job setup wizard makes the entire process really easy and intuitive, so you won't have any problems if you don't have prior experience. If you are more experienced, you may also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.