RE: [PHP] cron with php as apache module
| From: | Darren Gamble | Date: | Fri, 22 Mar 2002 19:01:05 +0000 |
| Subject: | RE: [PHP] cron with php as apache module | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89725@lists.php.net to get a copy of this message | ||
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:roberts_paul@bigfoot.com]
Sent: Friday, March 22, 2002 12:00 PM
To: php-general@lists.php.net
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
roberts_paul@bigfoot.com
++++++++++++++++++++++++
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php