1551
N.A.N.Y. 2011 / Re: NANY 2011 Pledge: Reliable File Watcher Batcher Robot
« Last post by rjbull on October 28, 2010, 03:34 PM »mouser, it's an old DOS program, but for comparison, are you aware of John Souvestre's SLEEP? It was primarily designed (I think) as a semaphore handler in DOS BBSs:
Mention on Rob van der Woude's Batch File Utilities page (with SAC download link).
More details here, How can you delay execution of bat
Mention on Rob van der Woude's Batch File Utilities page (with SAC download link).
More details here, How can you delay execution of bat
SLEEP- Batch util sleeps until event occurrence.
A very flexible command line tool for scheduling events; intended for batch files. "The possible events are: FOR a length of time, TILL a certain time, a question ASKed of the user, certain FILESPECS appear or disappear, the UPS is active, or a SCHEDuled event. Commands can be combined. Sleep is DOS, DesqView (uses DV System Memory), OS/2, and Windows aware.
Sleep will accept an indirect command file. Multiple lines can be used and command files can be nested. The resulting command line must be under 16K.
Sleep takes up to 100 filespecs, with paths and wildcards. Sleep will exit when any of these filespecs is created (+) or deleted (-). If also prefixed by "&", the conditions for those filespecs are AND'ed rather than OR'ed.
Serial and parallel port monitoring: Sleep outputs a byte to the port's control register, then monitors the port's status register, looking for the presence (+) or absence (-) of a bit or bits.
Scheduled events can stored in a file which contains one line per event. Sleep returns the error level of an event when it occurs.
Sleep can also be called to return an error level based on the date or time.
The cursor keys can be used to modify time remaining."

Recent Posts


