[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: flash22@xxxxxxx
- Date: Mon Mar 5 04:38:17 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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"
be sure to run it in a directory or specify where the file it will return
goes...
Note that this will also cause the script execution to show up in the log
files, so don't do this if you are passing it paswords...
gsh