A cron job is a command, which runs conveniently in the background on a pre-set period of time and it executes a script inside a website hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Some examples are mailing a day-to-day report which contains all of the user activity on a given website, generating a regular backup or erasing the content inside a particular folder. These kinds of tasks or almost every other script can be run on time intervals chosen by the end user - each few minutes, hours or days, and even monthly or perhaps once a year according to the specific purpose. Working with cron jobs to automate different areas of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
When you get any of our shared web hosting plans, you'll be able to create cron jobs with a couple mouse clicks in your Hepsia Control Panel even if you have never done that previously. Hepsia is quite simple to use, so instead of writing numbers and asterisks on particular positions, which is the usual technique to assign a cron job, you'll be able to select the minutes, hours or days a given script has to be run using very simple drop-down navigation. The latter is done from the Cron Jobs part of the Control Panel and, naturally, you can use the first method as well, in case you're skilled enough and you prefer it. In both cases, you will also have to type in the path to the script which will be executed and the path to the PHP, Python or Perl system files within your account. The latter can be found in the Control Panel and you'll be able to copy/paste it, but if you encounter any issues, you can get in touch with your support team.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is very easy. Once you sign 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 only need to select the directory path to the script file to be executed and the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You are able to find the aforementioned inside the Control Panel, and you can copy and paste it with a few clicks. Next, choose the time period 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 process very simple and intuitive, so you won't have any problems if you do not have prior experience. When you are more tech-savvy, you can also use the common cron format with the two paths, digits and asterisks typed on one line.