Cron Jobs
Learn what cron jobs are, how they work and the way to utilize them to improve your digital life.
A cron job is a command, that works conveniently in the background over a pre-set time period and it also runs a script within a website hosting account. There won't be any restrictions in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. Some examples are sending a regular report which contains all the user activity within a specified site, creating a regular backup or deleting the content within a certain folder. These kinds of tasks and / or some other script can be executed on time intervals chosen by the user - every couple of minutes, hours or days, and even every month or maybe annually depending on the exact goal. Working with cron jobs to automate various aspects of managing a website saves considerable time and efforts.
-
Cron Jobs in Shared Hosting
The user-friendly Hepsia Hosting Control Panel will help you to create cron jobs easily. If you do not have prior experience with such matters, you'll find a very intuitive interface where you could plan the execution of your cron, picking one or more time options - minutes, hours, days, months, or certain days of the week. The sole thing you will have to enter yourself is the specific command to be run, which consists of the path for PHP, Perl and Python scripts and also the path to the actual file that will be executed. Knowledgeable customers may also use the Advanced mode of our tool and enter manually the execution period with numbers and asterisks. If you need more crons than your
shared hosting plan allows you to have, you are able to upgrade this attribute in increments of five with only a few mouse clicks.
-
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is a piece of cake. Once you log in to the Hepsia Control Panel, which comes with all
semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just need to pick the directory path to the script file to be run as well as the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You can find the latter within the Control Panel, thus you can copy and paste it with a couple of clicks. After that, choose the time period for the cron via drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you do not have previous experience. In case you are more tech-savvy, you can also take advantage of the standard cron format with the two paths, digits and asterisks typed on a single line.