What Is A Cron Job?

Cron jobs are scripts or commands that are set to run automatically at specific times. You can use cron jobs to take care of server maintenance such as deleting temporary files once a week. Cron jobs aren't limited to server maintenance - they can be used to automate any command or script.

Note: Intervals shorter than 15 minutes can cause high server load. We ask that you do not schedule cron jobs to run more often than 15 minutes.


Elements of a Cron Job

Cron jobs are composed of three major elements: scripts, commands, and actions.

  • The script is the executed action.
  • The command executes the script according to the interval, or schedule.
  • The action is the result of the script that is executed.

 

  • 50 Users Found This Useful
Was this answer helpful?

Related Articles

Do you offer password protected directories?

By default, cPanel allows you to password protect directories in your account that you wish to...

Why can't I log into my cpanel or webmail?

There various issues that you may not be able to login to your cPanel or WebMail. We have...

Custom Error Pages

Creating your own error pages can be accomplished through cPanel. After logging in, under...

Requesting a New cPanel Password

Resetting Your cPanel PasswordYou can reset your cPanel password from the cPanel login screen....

Secure cPanel Login

Using Shared SSL to Access cPanel Use https, enter your site's IP address, and the secure port...