Recent Changes - Search:

Softwares

.

HowToRunPHPScriptsWithCronService

Main.HowToRunPHPScriptsWithCronService History

Hide minor edits - Show changes to output

May 04, 2007, at 08:01 AM by 61.17.226.151 -
Added lines 1-17:
%blue%How to Run PHP scripts with cron service

%blue%Check if PHP installed as CGI or as an Apache module

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

%blue%If CGI

vi /var/spool/cron/user

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

chmod 755 cron.php

%blue%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 08:01 AM