Date: 11/20/00
- Next message: dems <email protected>: "[PHP-DB] Database entry - not sure what's happening..."
- Previous message: Karsten Dambekalns: "[PHP-DB] Timeout while querying Oracle (w/ phplib's db_oci8.inc)"
- In reply to: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Next in thread: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Reply: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting Jamie Alessio who wrote on Mon, Nov 20, 2000 at 10:09:16AM -0800:
> > My question i guess is how to get the automated reminder process to happen.
> >
> Your best bet (if you're using *nix) is to set up a cron job that either runs a PHP or
> Perl script at a specified time. If you want to use a PHP script then you'll have to
> compile PHP as a CGI executable. Admittedly, I was a bit hesitant to do this for a while
> because I thought it would be a headache but it turned out to be extremely simply and it's
> great to be able to run PHP scripts from the command line and pipe data to it. The second
> option is to use Perl which is most likely already installed on your system but you'll
> probably have to install DBI to get it to talk to your database. The disadvantage to this
> is that you have to develop some things in Perl and some in PHP so I'd recommend trying
> out compiling PHP as a CGI executable.
How about making a php script that does 'the thing' (checking, mailing)
without generating output and then using the following:
lynx http://yourserver/the/special/script.php
>From cron. Best of both worlds :)
Koos
-- Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers koos <email protected> or DSS/1024 0xF0D7C263 -?) Fax +31-30-2817051 Visit my site about books with reviews /\\ http://idefix.net/~koos/ http://www.virtualbookcase.com/ _\_V-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: dems <email protected>: "[PHP-DB] Database entry - not sure what's happening..."
- Previous message: Karsten Dambekalns: "[PHP-DB] Timeout while querying Oracle (w/ phplib's db_oci8.inc)"
- In reply to: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Next in thread: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Reply: Jamie Alessio: "Re: [PHP-DB] Automated Processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

