[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] PHP scripts via CRON
- Subject: RE: [cobalt-developers] PHP scripts via CRON
- From: "Ray Messier" <messier@xxxxxxxxxxxxxxxx>
- Date: Wed Mar 29 08:11:38 2000
Here is what I do to run my PHP via a cron job
I set up a shell script to run via cron, in the shell script I have
perl ~atrain/public_html/conductor.pl
In the conductor.pl perl script I have, just snarf a copy of the LWP modules
and it works very good
#!/bin/perl
# Purpose: Runs the ATrain Conductor files
use LWP::Simple;
$p = get "http://127.0.0.1/conductor.php";
print $p;
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Francesc
Leveque
Sent: Wednesday, March 29, 2000 6:25 AM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-developers] PHP scripts via CRON
I think you can execute this php using the text navigator "lynx" and
redirecting output to /dev/null...
lynx xxxx/xxxxx.php3 > /dev/null
Please, I don't know how it works, so read a little about lynx before try
it.
Francesc Leveque ( francesc@xxxxxxxxxxxxxxxxxxxxx )
Director Técnico
Interweb Research. ( http://www.interweb-research.net )
Travessera de Gracia, 342-344 6ªpta
08025 Barcelona
Tel 93 4465015 Fax 93 4465034
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers