I believe it's possible to start a new and independent(?) thread in Perl. Is this also possible with a Perl script running as a CGI application?
I have a script that handles some basic database maintenance on a Berkeley DB via a web-interface (developed in-house). I would like to be able to order a backup of the database through the browser. This much I have already enabled... but, the database is quite large (2.7Gb) and the backup takes a couple of minutes to complete. In the meantime, the user is left with a "Please Wait" message in their inactive browser, before the inevitable time-out. This looks very unprofessional and the powers that be want it cleaned up! :-(
I'd like to run my backup sub-routine as a seperate process so that the user can initiate the backup and then carry on working. How do I do this?
In reply to Starting a new process (fork?) by DarkBlue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |