Re: Automated Processes
| From: | Jamie Alessio | Date: | Tue, 21 Nov 2000 18:29:20 +0000 |
| Subject: | Re: Automated Processes | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4620@lists.php.net to get a copy of this message | ||
> How about making a php script that does 'the thing' (checking, mailing)
> without generating output and then using the following:
>
> lynx http://yourserver/the/special/script.php
>
> >From cron. Best of both worlds :)
>
I admit to not knowing much about lynx but how does this process stop? In my experience
(and brief test a moment ago) if you call lynx and point it to a page with no output it
loads a blank page and then just sits there like any other browser. Yes, the script was
executed and the desired result was achieved but if I run this from a cron job won't I
have a bunch of old lynx jobs hanging around? I'm guessing there is a way to configure
lynx to quit after loading a page or something like that but I'm in the dark on that.
Thanks for the info.
- Jamie