On Thu, 28 Aug 2003 23:19:21 +0300, "Octavian Rasnita" <[EMAIL PROTECTED]> wrote:
> But why forking more processes?
>
Right, but the same can be asked for the below...
> The cgi program might check which of the files need to be deleted, then
> c
But why forking more processes?
The cgi program might check which of the files need to be deleted, then
create a temporary lock file, then it could fork a process that will delete
those files.
The next visitor will come and execute the same cgi script, but it will see
the lock file and it won't de
On Wednesday, Aug 27, 2003, at 14:22 US/Pacific, Octavian Rasnita wrote:
Or if you don't want to depend on Unix's cron and want your program to
do
everything, you can set it so each time a new visitor comes to your
site,
checks which files are not needed, and delete them.
You can use fork to avo