Learn what cron jobs are actually, what they do and how to utilize them to boost your digital life.
A cron job is an automated task, which performs a particular action - usually running a script in the website hosting account. The task is scheduled, so 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 can get day-to-day reports how many visitors have registered on your site, some temporary folder can be emptied automatically each week or a backup of the content may be made in a different folder inside your hosting account. Making use of cron jobs can help you with the administration of your websites as you're able to get several things done automatically and get reports for them, rather than investing precious time and efforts to complete them by hand.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which is featured with all of our Linux shared hosting
, will allow you to create cron jobs in a few easy steps even when you have never used this type of function before. As soon as you sign in and navigate to the Cron Jobs area where you'll be able to assign background tasks, you just need to copy and paste the system access path to Perl, Python or PHP with respect to the script you will run, type the path in your account to the specific script file and choose how often the cron job will be executed. For the latter, you can use the basic mode and pick the days, hours, minutes, etcetera using simple drop-down navigation, or in case you are more knowledgeable, you'll be able to use the advanced mode and specify the time period with numbers and asterisks i.e. the typical method that you may have employed with other Control Panels.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account with us to host your websites, you're able to set up cron jobs for any of them effortlessly. This can be done in three very easy steps from the Hepsia Control Panel that's used to manage the web hosting account, so you can create a new cron even if you don't have any previous experience. Inside the Cron Jobs area of Hepsia, you'll discover a box where you should copy and paste the path to the system files inside your account for the programming language your script was written in - Perl, Bash, Python, PHP, etcetera. You also need to provide the folder path to the script file which will be executed in the same box and use our user-friendly drop-down menus to decide how often our system will execute the cron. Advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in certain positions in addition to the aforementioned paths.