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 create databases and manage them?

To create a mysql database, log into your control panel and select the 'MySQL Databases' link....

How to access via SSL/TLS encryption in FTP client like FileZilla, CuteFTP

For the security reasons, we recently enabled FTP over SSL/TLS on our servers. Plain text...

How do I Create a new folder?

Folders are a very useful way of adding organization and structure to your web site. They make...

What is the File Manager?

The File Manager allows you to manage your site through HTML, rather than an FTP tool or other...

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...