What Are Cron Jobs?

cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks.

For example, you can set a cron job to delete temporary files every week to conserve your disk space. Some programs, such as Drupal, may even require you to set up a cron job to perform certain functions.

Scripts executed as a cron job are typically used to modify files or databases. However, they can perform other tasks that do not modify data on the server, like sending out email notifications.

A working knowledge of Linux commands is required to use cron jobs effectively.


Time Intervals

Cron jobs can be set to run by the minute, hour, day of the week, day of the month, month or any combination of these.

Note: joudiSoft limits cron jobs on Shared servers to run in 15 minute intervals, since excessive cron jobs can cause high loads on the server.


Cron Job Elements

Most cron jobs include three components:

  • The script that is to be called or executed.
  • The command that executes the script on a recurring basis (typically set in the cPanel).
  • The action or output of the script (which depends on what the script being called does).

Most scripts that require the use of a cron job will give you specific setup instructions. If you are unsure, check with the author of your script before adding a cron job.


Cron Job Limits

Shared and Reseller
  • You may NOT run a cron job more often than every 15 minutes.
VPS and Dedicated Server
  • You may run a cron job as often as desired.



  • cURL, GET and Wget are often used in cron jobs and are enabled on all joudiSoft servers by default. No further action to activate these functions are necessary.

Additional Resources

The following articles are for reference only and links will open in a new tab. Please note that joudiSoft cannot offer direct support for the information provided below.

  • 2 Users Found This Useful
Was this answer helpful?

Also Read

Custom Error Pages

What are Custom Pages for Errors? When your website generates an error, such as a 404, it...

How to Set a Cron Job to Use a Specific php.ini File

Some scripts executed with a Cron Job require a specific php.ini file to be used. When...

Error Pages Codes

What are Error Codes? All HTTP requests (the type of requests generated by your browser when...

Setting a Cron to Run at a Specific Date and Time

In order to correctly set joudiSoft's servers to perform a desired task in the form of a cron...

How Do I Create and Delete a Cron Job?

Cron jobs run scheduled commands at specific times. The Cron Jobs tool in cPanel is helpful for...