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

Database Troubleshooting

Troubleshooting "Cannot connect to the database" errors... Here are a few initial things...

How Do I Use The Index Manager In CPanel?

This demo assumes you've already logged in to cPanel Now let's learn how to use the Index...

How do I Upload files in File Manager?

ou can use File Manager to upload files to your web site, up to 12 files in one go. Although...

Do you have a manual for our control panel?

Yes, a manual for our control panel, cPanel is available. Go to http://www.cpanel.net/docs.htm to...