MivaScript Builtin Function, Miva Merchant 9+
miva_async_sleep( until, semfile, semlocation )
<mvt:assign name="g.return_value" miva_async_sleep( until, semfile, semlocation )" />
Sleep until the "until" time, or the modified time on the file described by semfile and semlocation is changed.
until
time_t (seconds since 1-JAN-1970) set in the future, the time to sleep until
semfile
file name to watch
semlocation
location of the file to watch. "script" or "data", defaulting to "data" if any other value.