From: "Dave "Crash" Dummy" on
David Kerber wrote:
> In article <e9937939-8bd9-4852-bd47-9368620099b9
> @u20g2000vbq.googlegroups.com>, specialist(a)adamwebdesign.com says...
>> Hi everyone,
>>
>> I don't often do a lot of VBS work, but in this case I need to be able
>> to schedule a task within Windows and the code was already largely
>> written in ASP before I got there, so to port it to VBS was the most
>> logical thing to do.
>>
>> Basically, what I want to do is run a VBS every second to process
>> database records that are time-sensitive (e.g. records that need to be
>> updated after exactly 24 hours from creation) without it totally
>
> Does your database support timed events? If so, you could run a stored
> procecure in the db, and save a lot of db resources.

Why not set up an infinite loop with a "sleep" delay?
do
call your process
wscript.sleep 1000
loop
--
Crash

"The fewer the facts, the stronger the opinion."
~ Arnold H. Glasow ~