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
這篇文章有幫助嗎?

相關文章

How can I access my website statistics?

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

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...

FREE WEBSITE BUILDER – STEPS TO DESIGN WEBSITE?

We already discussed how to launch a small business website in previous article. Now in this...

I didn't get my welcome email or have since lost it. How can I have it resent?

I didn't get my welcome email or have since lost it. How can I have it resent? The welcome...