kill session through batch file but with DELAY/SLEEP
respected forum members,
i have a database 9i release 2 on windows server 2003.
as we r working in a territory where load shedding (electricity failure) is big problem intervaly. as users r working so there computer shutdown while they are working when there is power failure.
about 250 sessions are opened in peak hours and i want to kill these sessions.
so i want to write a batch file which kill session but at the same time I WANT TO PUT DELAY IN THE BATCH FILE which delay for 2 seconds after killing 20 sessions.
can any body help me to write such a batch file which delays for 2 seconds after killing 20 sessions. HOW to insert DELAY/SLEEP in batch file.
thanks