[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP via cronjob
- Subject: Re: [cobalt-users] PHP via cronjob
- From: Ricky Dhatt <ricky@xxxxxxxxxxxxxxxxx>
- Date: Thu Mar 8 19:05:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 5 Mar 2001 flash22@xxxxxxx wrote:
> On Mon, 5 Mar 2001, Hendrik Runte wrote:
>
> > Hi Manuel,
> > according to the php manual it\'s said to be possible to run a php script as
> > a shell script quite similar to the perl way (I haven\'t tried, so far):
> > Hendrik Runte
> > Zitiere Manuel Schmidt <m.schmidt@xxxxxxxxx>:
> >
> > > Hi list,
> > > i have a \"cron job\" question.
> > > how can i run a *.php script on a RaQ4 through an cronjob?
> > > Hope, anyone can give me advice...
>
> Another sneaky way to run any script as a
> cron job is to just use wget.
>
> eg in the script run wget "http://whateverdomain/script.php"
Exactly! but I use a couple of options to make it neater:
wget --quiet --spider http://whateverdomain/script.php
--quiet quiet (no output).
--spider don't download anything.
--Ricky Dhatt
IT Specialist
Electric Arrow Web Development Studio
Phone: 206-381-5853