🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #12099

Re: PHP4 Script als Cronjob

#12099
From: Olivier M.
Date: Tue, 14 Aug 2001 11:01
21 lines
1666 bytes
Salut Sandro :)

<sandro@3fach.ch> ecrivait/schrieb/wrote:
> ich m�chte ein PHP4 Script als Cronjob ausf�hren. Habe z.B. probiert
> mit einem Cronjob lynx auszuf�hren und so das php4 Script laufen zu
> lassen, aber das geht nicht:
> Hat jemand eine Idee wie ich ein php4 script als cronjob laufen lassen
> kann?

lynx --dump http://.... w�re die erste l�sung,
sonst gibt es auch wget http://...., aber noch besser ist php
als binary zu kompilieren, und dann zB so aufzurufen:

*/15 * * * *    username  /usr/local/bin/php /home/www/script.php

hope this helps :)
Olivier
-- 
_________________________________________________________________
  Olivier M. - spam@8304.ch - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch
Technical Details
Message-ID: <slrn9ni18d.j3u.spam@tardis-a3.ee.ethz.ch>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.59.214.20!news-ge.switch.ch!news-zh.switch.ch!pfaff.ethz.ch
References: <3B78F8AA.96CF2046@3fach.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,b9f9e19cadcbf858
X-Google-Attributes: gidf4b73,public
X-Google-ArrivalTime: 2001-08-14 04:01:39 PST
Newsgroups: ch.comp.os.linux
From: spam@8304.ch (Olivier M.)
Subject: Re: PHP4 Script als Cronjob
References: <3B78F8AA.96CF2046@3fach.ch>
Message-ID: <slrn9ni18d.j3u.spam@tardis-a3.ee.ethz.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.7.1 (SunOS)
NNTP-Posting-Host: tardis-a3.ee.ethz.ch
Date: 14 Aug 2001 13:01:34 +0200
X-Trace: 14 Aug 2001 13:01:34 +0200, tardis-a3.ee.ethz.ch
Organization: Swiss Federal Institute of Technology (ETHZ)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.59.214.20!news-ge.switch.ch!news-zh.switch.ch!pfaff.ethz.ch