in reply to Managing a long running server side process using CGI
The main program is kicked off by cron (or task scheduler in Win32) and checks for whatever the flag is and runs with the supplied params if the flag is found. The main program logs its progress so the user can follow what's happening - presumably via another CGI interface.
If there's a requirement that parameters can change, just have the main program reread it's param whenever it finds they've changed.
|
|---|