How do I setup Cron jobs?

A Cron job allows you to run a certain command at times set by the job such as deleting temporary files every week so that your disk space is not being used up by those files. You need to have a good knowledge of Linux commands before you can use Cron jobs effectively. Check your script with your hosting administrator before adding a Cron job.


To setup a Cron job:

  • Access the 'Cron Jobs' feature under the 'Advanced' menu. 


 cron job cpanel

  • Select the mode you would like to use Standard or Advanced (UNIX Style). Standard is recommended to most users due to its simplicity and the pre-set options it offers the user.
  • Enter the email address where the Cron output will be sent to in the corresponding field.
  • Enter the command you wish the Cron job to run in the 'Command to run' blank field and Select how often you wish the command to be run by selecting a time frame in the appropriate box. 

 adding new cron job

  • Click on 'Add New Cron Job' to save your changes and set up your Cron job, the command run by the Cron job must be a valid command.


cron job added

When a Cron job is no longer needed, you should delete it so the command will not continue to run. You can do this by clicking the 'Delete' button next to the Cron job you wish to remove.

If you have any problem with creating Cron job please contact us on: Support@hostimed.com

  • 0 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

Can I add an auto responder to my emails?

An auto responder can be setup in cPanel to respond to any incoming emails with a message...

Can I change my cPanel username?

Unfortunately our management system does not allow to change the username as the system uses your...

Can I execute shell exec() function on PHP or it is prohibited?

Shell exec() is supported on hostimed.com for all the services. But, support team can activate...

Can I set permissions to 777?

It is not recommended to change your permissions to 777 as other users on the server as well as...

Can I set up custom name servers?

A custom name server allows you to run your own name server to respond to DNS requests for your...