6.10. run

[<<<] [>>>]

 
  run (
    start   "e:\\MyProjects\\sb\\source\\examples\\runstart.bas"
    restart "e:\\MyProjects\\sb\\source\\examples\\runrestart.bas"
    )

This key with the subkeys define the programs that has to be started by the Eszter SB Engine before starting listening on the defined port for incoming HTTP connections. All programs that follow the key start are started only once when the Engine is started. All programs that follow the keyword restart are started the same way as the programs with the keyword start, but are also restarted whenever they stop so long as long the engine is running.

These programs run asynchronously in separate threads. A typical use of such a program is to periodically check old sessions in the module MT and delete the sessions that were not deleted by the CGI programs.


[<<<] [>>>]