Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Background Process

by chromatic (Archbishop)
on Jun 26, 2000 at 02:02 UTC ( [id://19773]=note: print w/replies, xml ) Need Help??


in reply to Background Process

You could do other things with a separate process:
  • Write the e-mail data to a directory somewhere. Have a cron job run and pass those pseudo-queued messages off to your MTA every 5 minutes.
  • Write another program that uses a named pipe or a socket. Have your CGI program connect to the other, pass the data through and return, and let the other program handle the delay. (Could be tricky if you're sleeping while another instance of the CGI program wants to connect.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2025-07-19 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.