in reply to how to add progress bar to the CGI script

What do you mean, 'a long time'.

Why not id the job, and execute it in the background.

And when it's done, send them an email.

Your output could be saved to /tmp/finished/email@address.com

And a cron could check if there's anything in /tmp/finished, if so, they are emailed. Maybe even email the output to them (security?).

  • Comment on Re: how to add progress bar to the CGI script

Replies are listed 'Best First'.
Re^2: how to add progress bar to the CGI script
by ashwin (Initiate) on Aug 29, 2009 at 09:13 UTC
    Leocharre,

    I meant the script would take 2-3mins to get the output.
    It's a CGI script and follows client/server architecture. The output is shown on user's browser.

    Thanks for the information.