Setting Cron Jobs

There are two types of cron jobs that you can set inside of cpanel.

Local Cron - this will call a file within your home directory using PHP
Remote Cron - this will call a remote page at a remote url using WGET

The format for these cron jobs are as follows

Remote Cron
curl -Ohttp://www.thedomain.com/file.php
wget -O /dev/null http://www.thedomain.com/file.php

Local Cron
php -q /home/username/public_html/file.php

Cron Timing
On cpanel, the minimum duration between crons is 60 seconds, its not possible to run crons less than 60 seconds however you are given the choice to run crons at regular intervals of more than 60 seconds.

  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

How to login to cpanel

How do I login to Cpanel? When you placed your order you should receive numerous emails, one of...

Video Tutorials on using cpanel

To access tutorials on using cpanel, please proceed to the following...

CronTab Notes

When adding a cron job, you have to specify the path on the server where the cron should...

FTP is not working

FTP is not working, why?There could be a few reasons for this, please read carefully.1. You...

Web Statistics are locked by Administrator

In my Cpanel, its saying the stats are locked by the Administrator. How do we unlock...