Cron jobs are scheduled tasks, that run on regular intervals of time set by the user and they also execute scripts written in different programming languages - PHP, Perl, Bash, etc. Depending on what actually a cron needs to do, it can run every minute, weekly or maybe once a year. There're lots of handy applications to make use of cron jobs in the day-to-day administration of a site. For example, a backup copy of the entire website may be generated daily as well as weekly or an email message with all recent signups for the day can be sent to a certain email. This kind of automatic options can make the management of any website much easier. There are no specific file types which are allowed or forbidden, so any script can be executed by using a cron job.
Cron Jobs in Shared Hosting
When you get any of our shared hosting packages, you will be able to create cron jobs with only a few clicks through your Hepsia Control Panel even if you have not done that previously. Hepsia is quite easy to use, so as opposed to writing numbers and asterisks on certain places, which is the typical way to set up a cron job, you will be able to select the days, hours or minutes a script has to be executed using simple drop-down menus. This is done in the Cron Jobs area of the Control Panel and, naturally, you can use the first method too, in case you are experienced enough and you prefer it. In either case, you will also have to type in the path to the script that'll be executed as well as the path to the PHP, Python or Perl system files in your account. The aforementioned can be found in the Control Panel and you can copy/paste it, yet if you encounter any issues, you can get in touch with your technical support team.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which comes with all the semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only have to select the directory path to the script file to be executed plus the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the aforementioned in the Control Panel, so you can copy and paste it with a couple of clicks. After that, select the time interval for your cron via drop-down navigation for the months, days, hours or minutes and you'll be all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you don't have prior experience. In case you are more experienced, you may also use the common cron format with the two paths, digits and asterisks typed on a single line.