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

403 Forbidden Error and Solution

HTTP Error 403 - Forbidden Generally. the HTTP error 403 - Forbidden means that access to the...

PHP upload filesize limit

While you can set the PHP variable "upload_max_filesize" for only your account, our servers will...

My Website Is Slow

My Website Is Slow Having a slow loading website can be frustrating, and can lead to less...

filezilla error messages and solution

FTP accounts do not work after FileZilla upgrade This article describes a problem that occurs...

How can I access my website statistics?

Your website's statistics are available under the Logs section in your cPanel. There you will see...