in reply to Re: avoid time out
in thread avoid time out

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Re: avoid time out
by monkey_boy (Priest) on May 18, 2004 at 08:53 UTC
    If you have a unix/linux type system simply write the script that does the processing & emails the user (e.g. using Mail::Mailer), then in the cgi script just run the second script with the argumnets required thought a system call:
    e.g.
    system("myProg.pl email_add arg2 arg3 etc &");
    note the & to run the job in the background. Then print oput some info to the browser like "youre job has been submitted and will email the results etc..", Obviously youll have to get the user to sumbit there email address in some html-form.
    I should really do something about this apathy ... but i just cant be bothered
      Hi I did this ...but still it does not print anything on screen till the background scripts execution in not over. tried exec() also...but the same problem