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

What database do you offer?

We use MySQL. We have found that our members prefer MySQL because it is a relatively easy-to-use,...

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

What is a subdomain?

www.domain.com is a domain name. A subdomain is anything that replaces the www in a domain name....

I can't reach my server. Have I been blocked?

If you were getting "Invalid Login," "The login is invalid," or other username/password errors...

How do I create a new file?

For small text files it can be easier to create them online, rather than on your home computer...