A cron job is a command, which runs automatically in the background on a predefined period of time and it executes a script in a website hosting account. There won't be any limitations in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. Some examples are sending a day-to-day report with the end user activity on a specified website, creating a routine backup or erasing the files inside a particular folder. These tasks or any other script can be executed on intervals picked by the user - each few minutes, hours or days, and even once per month as well as once per year according to the exact objective. Working with cron jobs to automate different areas of managing a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is provided with all of our Linux shared hosting, allows you to set up cron jobs in several basic steps even when you haven't ever employed this type of feature previously. Once you log in and navigate to the Cron Jobs area where you'll be able to set background tasks, you just have to paste the system access path to PHP, Pyton or Perl according to the script you will run, type the path in your account to the actual script file and then choose how often the cron job will be executed. For the latter, you can use the basic mode and choose the minutes, hours, days, etcetera via straightforward drop-down menus, or maybe in case you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method that you might have employed with other Control Panels.

Cron Jobs in Semi-dedicated Hosting

Setting up a cron job in our system is quite easy. Once you sign in to the Hepsia Control Panel, which comes with all of the semi-dedicated server accounts, you can go to the Cron Jobs section where you only need to pick the directory path to the script file to be executed and the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the latter within the Control Panel, and you can copy and paste it with several clicks. Next, choose the time interval for your cron through drop-down menus for the months, days, hours or minutes and you are 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 previous experience. When you are more tech-savvy, you may also use the standard cron format with the two paths, digits and asterisks typed on one line.