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 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

403 Forbidden Error and Solution

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

How do I delete a file or folder?

cPanel includes a Trash folder, which operates the same way as the Windows Recycle Bin. All...

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

Facts on Bandwidth

How much is 1 meg? Every time someone views your web page all of the data (html code, text,...

What is the difference between parked, addon, and subdomains?

An addon domain is a fully functional domain that can be created from your cPanel. Once it's...