Welcome to the Monastery | |
PerlMonks |
Re: Passing "actions" to server for processing to prevent timeoutby mvaline (Friar) |
on Dec 24, 2006 at 06:43 UTC ( [id://591494]=note: print w/replies, xml ) | Need Help?? |
The simple approach you outlined is probably sufficient. Unless you need to report back live status to the calling html page, there's nothing wrong with exec'ing a second script that will notify the user by email. The second script doesn't need to have anything to do with CGI.
Also, make sure you use exec here instead of system so your CGI won't be waiting for the second script to return.
In Section
Seekers of Perl Wisdom
|
|