Good day,

Most Linux packages also install the php binary as part of the distribution
(I know Redhat does).

Look in /usr/local/bin (or other common places) to see if the executable
"php" has been installed.

If it is, you're set.  Just run the script as if it were a .cgi .
Instructions are on php's site.

On a sour note, FreeBSD's package does not include the executable.. >=(

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-----Original Message-----
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 12:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] cron with php as apache module


I want to run a php script via a crontab, (i can set up the crontab etc).

this is a Linux server and php is installed as an apache module, is there
any way to run the php script via cron.

 the build details are 

      Configure Command './configure' '--with-apxs=/usr/sbin/apxs'
'--with-mysql' '--enable-track-vars' '--enable-versioning' '--enable-bcmath'




Paul Roberts
[EMAIL PROTECTED]
++++++++++++++++++++++++



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to