What Are Cron Job Commands ?

 

PHP

Command to run a PHP5 cron job:

php /home/user_name123/public_html/cron.php

 

Optional flag sometimes required for a PHP cron job:

php -q /home/user_name123/public_html/cron.php

 

Command to run a PHP4 cron job:

/usr/local/php4/bin/php /home/user_name123/public_html/cron.php

 

More

 

Command to GET a remote file:

/usr/bin/GET http://www.some-domain.com/file.php

 

Command to run a CGI cron job:

perl /home/user_name123/public_html/cgi-bin/file.pl

 

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How Do I Use The Index Manager In CPanel?

This demo assumes you've already logged in to cPanel Now let's learn how to use the Index...

Why does my website say "Bandwidth Limit Exceeded"?

If you can no longer access your website and instead see a message such as "Bandwidth Limit...

How to see if Mod_Rewrite is enabled on site/server?

mod rewrite is installed and enabled by default on all servers supported by Hands-on Web Hosting,...

How do I edit a file?

Editing a pre-existing file through File Manager allows you to make immediate changes to your web...

Change Cpanel Password

Change Cpanel PasswordTo change your password follow the instructions listed below.Please follow...