What Are Cron Job Commands ?



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




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 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Can I change my hosted domain name?

yes . Our prices are the lowest in the industry, yet our servers and network are top quality. We...

403 Forbidden Error and Solution

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

How do I use the File Manager?

A full guide can be found at http://www.cpanel.net/docs/cp/fileManager.htmThe File Manager allows...

Hosting Basics

We'll explain some basic procedures and steps to use your account. Username and Passwords:...

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