User Tools

Site Tools


uphp:functions:exec

This is an old revision of the document!


exec

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Run a script with an optional delay

Description

exec ( string $script_name [, int $delay_ms ] )

Parameters

script_name: Path and filename of script to execute

delay_ms: Optional delay in milliseconds before script is started

Return Value

None

Example

<?
  exec("/scripts/ip.cgi",1000); // run the external script in 1 second from now
  // ...
  // (if there are any further commands here they will be executed immediately without delay)
  // ...
?>

See Also

max_concurrent_scripts - Operating System configuration, uphp.ini: Limit the number of scripts that can run at the same time

include() - Include a file within the current script at the current location

process_list() - Return an array of the currently running scripts

uphp/functions/exec.1489862708.txt.gz · Last modified: 2021/09/13 05:56 (external edit)