[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP via cronjob



On Sun, 26 Aug 2001, Per M Knutsen wrote:

> > Short of compiling PHP to support the stand alone, is there another
> > way to have [a PHP] script run via a cronjob?
> 
> I use Perl as a by-pass. Here's an example from my cron-folder:
> 
> #!/usr/bin/perl
> use LWP::Simple;
> my $page = get "http://64.65.48.48/web/order.php";;
> print $page;

Worked like a charm...thanks so much for the code.

Thom

baltimoremd@xxxxxxxxxxxxxxx             Thom LaCosta K3HRN Webmaster  
               http://www.baltimoremd.com/cobaltfacts/
Home of the CobaltFacts Web Ring - cobalt-ot and hosting-biz mailing lists