User Tools

Site Tools


uphp:functions:exec

exec

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

Run a script with an optional delay

Description

exec ( string $script [, int $delay ] )

Parameters

$script: Path and filename of script to execute

$delay: Optional delay in milliseconds before script is started

Return Values

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)
  // ...
?>

Also See

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.txt · Last modified: 2021/09/13 05:57 (external edit)