Looping on the command line
| From: | Keith Greene | Date: | Tue, 16 May 2000 15:43:08 +0000 |
| Subject: | Looping on the command line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103@lists.php.net to get a copy of this message | ||
I need a script to reload itself several times when run from the command
line. I am having a few problems.
<pseudo-code>
<? # fs.php3
do some stuff...
.
.
.
exec("fs.php3");
?>
</pseudo-code>
I can get 1 script to load another script using the above syntax, but I
cannot get a script to reload itself.
I have even tried ping-ponging, or having the main script load another
script that just reloads the main script
again, but THAT doesn't seem to work either. I am getting very confused here
and am about to pull my
hair out. Any help would be appreciated.
Please send replies to keith.greene@billserv.com (I'm not subscribed to the
list, due to traffic problems)
Keith Greene
Web Programmer
billserv.com