Which goes back to the guys original problem.
How to run the first php script in a cron job.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Nopphapadol" <nop@p...>
To: "professional php" <pro_php@p...>
Sent: Monday, February 11, 2002 3:06 PM
Subject: [pro_php] Re: remote exec php script
> By using of CURL functions will enable
> you to do the job. The functions act like
> a browser (Accturlly it is a browser) you
> can write a PHP script to brows the script
> that you want to run it. So now using CROND
> to run the first script !!!
>
> Nop.
> Thailand.
> ----- Original Message -----
> From: "Adam Lang" <aalang@r...>
> To: "professional php" <pro_php@p...>
> Sent: Tuesday, February 12, 2002 1:25 AM
> Subject: [pro_php] Re: remote exec php script
>
>
> > Or if you really want to get fancy, just write a perl script that opens
a
> > socket to the web server and calls the web page. Then kill the socket
and
> > end the script. I would assume it would only be a matter of a couple
> lines.
> >
> > Adam Lang
> > Systems Engineer
> > Rutgers Casualty Insurance Company
> > http://www.rutgersinsurance.com
> > ----- Original Message -----
> > From: "Richard D. Williams" <richard@a...>
> > To: "professional php" <pro_php@p...>
> > Sent: Monday, February 11, 2002 1:26 PM
> > Subject: [pro_php] Re: remote exec php script
> >
> >
> > > Hi,
> > >
> > > What I mean is, the user is still required to use a web browser to get
> to
> > the site and log the php page and click on Read File. I want to do this
> > whole
> > > thing with a cron job. I found the wget utility and that looks like
it
> > will do the job.
> > >
> > > Thanks,
> > > Richard
> > >
> > > Christopher Scollo wrote:
> > >
> > > > Hi,
> > > >
> > > > Could you please explain what you mean by "The execution of the php
> > script is still manually done."? How exactly do you execute the PHP
> script
> > now?
> > > >
> > > > -- CS
> > > >
> > > > On Mon, 11 Feb 2002, Richard D. Williams wrote:
> > > >
> > > > > This topic may have been handled already, but I can't seem to find
a
> > > > > workable answer.
> > > > > I have an application running on a unix box. I create an
update.sql
> > file
> > > > > which contains a delayed insert to populate a table in MySQL
> database.
> > > > > When this file is created it gets sent to our web host site with
> ftp,
> > > > > automatically. Once this file lands at the web host, we use a php
> > > > > script to delete all records from a table and read the file and
> > executed
> > > > > each line as a insert query. The execution of the php script is
> still
> > > > > manually done.
> > > > >
> > > > > Question: How can I automate the last part of this process? What
> > > > > techniques are there to execute the php script from a remote unix
> box?
> > > > >
> > > > > Any thoughts and suggested resuores would be appreciated.
> > > > >
> > > > > Thanks,
> > > > > Richard D. Williams
> > > > >
> > > > >
> > $subst('Email.Unsub').
> > > > >
> > > >
> $subst('Email.Unsub').
> > >
> > >
$subst('Email.Unsub').
> > >
> >
> >
> >
> >
> >
>
>
>