What Are Cron Jobs?

cron job is a Linux command for scheduling a command or script on your server to complete repetitive tasks automatically. 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.

For example, you can set a cron job to delete temporary files every week so that your disk space is not being used up by unnecessary files. Some scripts, such as Drupal, may even require you to set up a cron job to perform certain functions.

Time Intervals

Cron jobs can be a very resourceful tool as they can be set to run by the minute, hour, day of the week, day of the month, month or any combination of these. SignedOn limits cron jobs on Shared servers to run in increments of no less than every 15 minutes since excessive cron jobs can cause unnecessary loads on the server.

 

What You Should Know Before Using a Cron Job

Warning: It is important that you familiarize yourself with how cron jobs work. You need to have a working knowledge of Linux commands before you can use cron jobs effectively.

For most cron jobs, there are three components present:

  • The script that is to be called or executed
  • The command that executes the script on a reccurring 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 instructions on what needs to be set up. If you are unsure, check your script with your hosting administrator before adding a cron job.

Cron Job Limits

Shared and Reseller

  • You may NOT run a cron job more often than every 15 minutes.
  • If you are getting errors when using the get command, please contact us to request access.

VPS and Dedicated Server

  • You may run a cron job as often as you desire.
  • We enable get and wget by default.

For additional information on cron jobs, use the following resources:

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

What Do I Put for the Cron Job Command ?

Linux Web Hosting Linux web hosting includes the following: Shared, Reseller, VPS and Dedicated....

Updates in QuickInstall, how to

So, you want to update to the newest version of your program. Let's use WordPress in our...

How to Create/Edit/Delete a File Using the File Manager

You will need to have a basic understanding of how to navigate the File Manager in order to...

Proper MIME types

Mime types tell browsers how to handle specific extensions. For example, the text/html mime type...

WordPress Super Cache plugin

WP Super Cache is a plugin for WordPress that generates static HTML pages from your dynamic...