Recent Changes - Search:

Softwares

.

HowToRunPHPScriptsWithCronService

How to Run PHP scripts with cron service

Check if PHP installed as CGI or as an Apache module

  use the code  <? phpinfo(); ?>  to check Server API

If CGI

 vi /var/spool/cron/user

 * * * * * /usr/local/bin/php /path/to/your/cron.php >/dev/null

 chmod 755 cron.php

If Apache module.

  * * * * * lynx -dump http://www.itmission.org/cron.php
Edit - History - Print - Recent Changes - Search
Page last modified on May 04, 2007, at 04:01 AM