Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Passing "actions" to server for processing to prevent timeout

by mvaline (Friar)
on Dec 24, 2006 at 06:43 UTC ( [id://591494]=note: print w/replies, xml ) Need Help??


in reply to Passing "actions" to server for processing to prevent timeout

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.

  • Comment on Re: Passing "actions" to server for processing to prevent timeout

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://591494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found