apm_file_watch_cancel (public)

 apm_file_watch_cancel [ path ]

Defined in packages/acs-tcl/tcl/apm-file-procs.tcl

Stop watching a certain file, or all watched files if path is not specified. If the file is not watched this procedure does nothing.

Parameters:
path (optional)
The path relative to server root of the file to stop watching. Optional.
Author:
Peter Marklund

Testcases:
No testcase defined.
Source code:
    if { $path ne "" } {
        catch { nsv_unset apm_reload_watch $path }
    } else {
        catch {nsv_unset apm_reload_watch}
    }
Generic XQL file:
packages/acs-tcl/tcl/apm-file-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-file-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-file-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: