lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Guys,
I am writting a script to copy some data from one database to another, this script will be running all the time, verifying if have something to copy.
I need to wait for some seconds between two checks, to do not overload the DB server or CPU.
How can I implement a function (or use if already has) to perform a "sleep", to wait some (milli)seconds doing nothing.
Thanks.

--
Marco Antonio Abreu
Analista de Sistemas