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

Can I upload files via an online file manager ?

Yes. Login to your Control Panel (http://www.yourdomain.com/cpanel/) and select "File Manager".

How to create an autoresponder in Cpanel

We do have a video tutorial on how to create an autoresponder. Autoresponder returns a...

How to login to cPanel

Please watch our movie tutorial on how to login to cPanel. If you recently purchased a new...

What is FTP?

FTP stands for File Transfer Protocol and it is the process used to upload and download files...