A cron job is an automated task, which executes a particular action - typically executing a script in a website hosting account. The task is scheduled, which means that it will run regularly - weekly, daily, hourly and so on. There are various good reasons to use a cron job for your sites. As an example, you may get day-to-day reports how many site visitors have registered on your site, some temporary folder can be emptied automatically weekly or a backup of your content may be created in a separate folder inside your hosting account. Making use of cron jobs will help you with the management of your websites since you'll be able to get several things completed automatically and get reports for them, rather than investing precious time and efforts to complete them manually.
Cron Jobs in Shared Hosting
The simple to use Hepsia Hosting Control Panel will help you to set up cron jobs without difficulty. If you do not have prior knowledge about these types of matters, you will find a really easy-to-use interface where you could schedule the execution of the cron, selecting one or more time options - minutes, hours, days, months, or exact weekdays. The one thing that you will have to type in manually is the specific task to be run, which consists of the path for PHP, Perl and Python scripts and also the path to the actual file that is to be executed. More skillful users may also make use of the Advanced mode of the instrument and type in manually the execution period with numbers and asterisks. If you need more crons than your shared hosting plan allows you to have, you'll be able to upgrade this attribute in batches of five with only a couple of mouse clicks.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account with our company to host your websites, you're able to create cron jobs for any of them effortlessly. This is done in 3 really easy steps inside the Hepsia Control Panel which is used to take care of the website hosting account, so you can set up a new cron even if you don't have any prior experience. Inside the Cron Jobs part of Hepsia, you will find a box where you should copy/paste the path to the system files in your account for the programming language your script was designed in - PHP, Python, Perl, Bash, and so on. You also need to enter the folder path to the script file that'll be executed in the same box and then use our intuitive drop-down menus to choose how often our system will run the cron. Experienced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in specific positions in addition to the aforementioned paths.