[comp.binaries.ibm.pc.d] EVERY11: A useful timer utility

clear@actrix.co.nz (Charlie Lear) (04/08/90)

Preliminary apologies for posting a binary to the .d group, but mail
from New Zealand (or at least me) bounces all over the place.  I've
tried mailing the following to Bill Davidsen several times without
success, and these per-byte mailing charges must be mounting up!

I use WAFFLE161 as an off-line newsreader and editor.  My host is a
public access Unix site, therefore is nearly always busy when I call.

I tried looking and asking everywhere for a program that would allow me
to run my polling batch file every so often, but nobody had heard of a
DOS utility that did it easily.  Conrad Bullock suggested some Pascal
code, and after a bit of hacking EVERY11.ZIP was created.

Now I can type EVERY 45 POLL last thing at night, and my system will run
POLL.BAT immediately and every 45 minutes thereafter until I get up in
the morning and ^C out of it.  I'm sure a lot of DOS users will find a
use for it.

----------cut here----------
begin 666 every11.zip
M4$L#! H    & !=3A10%[M .G T  - 3   )    159%4EDN15A%#P 2 R05
M-B<X.6I[3)UN'PD& 1,TY?:6]YMJA1Y0(4"G "T"M!7L70,"1# ]0@'#<]AV
M!L..8MAU#/N/82<R[ NVG<2PIQAV%\..8]A[#+N08<\R[&.&O<ZP#QIV4L.>
M:MA=#?NN80<V[-*&_=NPDQOV=,.>;]@3#AA^PK!C&'81PWYBV',,NY%A7S+L
M4(9=S+##&?8^PRYHV \-.ZAA+S7LJH;=U[ /&W9DPZYMV+\-.[EA[S?L)0D,
M[V78QPP[FF'G-.RAAMW4L.,:]E[#+FS8F0U[M&$?-^SHAKW=L-\;=G[#[K# 
M6#;L&(9=Q;"_&'8:P^YCV.,#I H 3[,%V&W8T2-D\T5H@2X15DU<'E>9UTQ4
M0/:#V0O\C32@QZN_E1 K$V)U0NR:;03MOZT*<+:T_6I,X% U&U30ON:N"8C=
MP;V'4C^F]%QJ?S^^Y!Y0ON[NQ.R[#G]9U&I1J5E!QG09$R3*L2ECYLP)$^30
MMV[EAB4+4FA=MFS?CET+T@3T:,/*99NV+$BF98ZO235MF^3;UIU+%Z28X^?"
M+3LVK1GMVD_K%N1=M&_9:%OR=>F6G0O2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y*OS9L2I55L6N4+E-\29K9W%BJ?*>$KBS8:^L\8A?ST./X
M]+!TR_31D"P 6YL9;U)5YH25/D>JFF+/J9*=>85Y.80]N*M>G/^)>$6G7A,;
MIJY@YVZN5H7],K(/)ET'8$Y4$\AA'JY+NW7ONH"J7;K5PRS'LAG5 _EJ>3=>
M%]ZK>@CM3M]$%MM>7NJY<W_HN:=\QMZEG*?AAE1J19Q9'KP,$V8[(08CLI,Y
MC/GA8@(GT#Y4ET^8V$+?XB%#RVP9\V9-%JZU9.6M^#>+,$Q\L>ETD!VF39@S
M<1QUIV7HW%K.;C9)&*,@Y6&,I40[\!I379>,NDFIPQQ^<>B\<!!'_:G1?"\\
M]=D\G*NHW'FNL,D<%KK,H*PU>PY?%T-8,VVO.L74#+)&KDAC[&,W/<\XAS/'
MF)=WW4 K*%7N+S9/;T>N]QET[0:WS>R>0[83N59/=QA+>+DZ&BV2\#JA>3F6
ML3B-V7KW<SJEW; K216\\R1C[#CM DAQ= =1OD0)H-<KCL9XS%MGA?@]0IS=
M2U>96FX_#"_XFDKE;CB=/7V-4$L! @L "@    8 %U.%% 7NT Z<#0  T!, 
M  D            @         $5615)9+D5815!+ 0(+  H    & .91A11D
M+4#]0P0  (4&   )          $ (    ,,-  !%5D5262Y$3T-02P4&    
M  (  @!N    +1(  )8 #0K:Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,2_
M#0JS(%1H92!#879E($)"4R V-"@T*38T,S0R.2"S#0JS(%=E;&QI;F=T;VXL
M("!.97<@6F5A;&%N9""S#0JS(#(T:')S(#,P,"TR-# P8G!S(#$U-TU"(2"S
>#0K Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,39
 
end
----------cut here----------

A thousand apologies for posting in the .d again, but there is no other
way at the moment.  I've also got Conrad Bullock's IFF-->GIF converter
IFFGIF11.ZIP but won't post it here as it is 20k long.

--The Bear    ( clear@actrix.co.nz )
-- 
 Charlie "The Bear" Lear:  Call The Cave BBS, 64(4)643429 157MB Online!
             Home of the World Famous KiwiBoard BBS Software!
        Snail: P.O. Box 12-175, Thorndon, Wellington, New Zealand
                 All mail and flames to clear@actrix.co.nz 

w8sdz@smoke.BRL.MIL (Keith Petersen) (04/10/90)

There is no reason to post a binary to this discussion group just
because your mail is bouncing.  There are several alternative ways to
get postings to Bill.  If you have trouble getting to him, send email to
me at one of the addresses below and I'll help you find a path that
works.  I use:  ibmbin@cwdgw1.ge.com  

If you are on Usenet and must use bang paths there are several which
work.

   Example:  uunet!crdgw1!ibmbin

Keith
-- 
Keith Petersen
Maintainer of SIMTEL20's MSDOS, MISC, & CP/M archives [IP address 26.2.0.74]
Internet: w8sdz@WSMR-SIMTEL20.Army.Mil, w8sdz@brl.mil  BITNET: w8sdz@NDSUVM1
Uucp: {ames,decwrl,harvard,rutgers,ucbvax,uunet}!wsmr-simtel20.army.mil!w8sdz

dgl292@pallas.athenanet.com (Doug Lee) (04/11/90)

In article <1990Apr7.173924.8132@actrix.co.nz> clear@actrix.co.nz (Charlie Lear) writes:
>I tried looking and asking everywhere for a program that would allow me
>to run my polling batch file every so often, but nobody had heard of a
>DOS utility that did it easily.  Conrad Bullock suggested some Pascal
>code, and after a bit of hacking EVERY11.ZIP was created.

There is a program available on many BBSs (and, probably, on Simtel20)
called `at', which can be told to execute a job at a given time or within
a given amount of elapsed time.  Its advantage is that it allows you to use
your machine in the mean time, executing the command(s) at the appropriate
time(s) or the next time a DOS prompt appears thereafter.

My solution to this problem, therefore, is to write a BAT file which calls
my program--which can be another BAT file if you use a recent enough DOS to
have the CALL command at your disposal--and then reschedules itself.  The `at'
program is a TSR and can run on any MSDOS machine as far as I know. .
Corrections from the net are welcomed.

Doug Lee    (dgl292@athenanet.com or uunet!pallas!dgl292)

john@itivax.iti.org (John Sauter) (04/12/90)

There are at least two programs on Simtel which can be used to
accomplish the function of every11.  Both of them are TSRs which
give them a lot of flexibility.

The "at" program (in the archive doat.arc) allows you to set up
several times (one minute resolution) for running programs (usually 
a .BAT file).  You can look at the schedule and selectively delete 
items if desired.  We tried to use it to execute a backup procedure 
every midnight but ran into problems trying to get it to reschedule 
an activity.

A second program, called "tr" (in the archive timerun3.arc) is
similar to at but it doesn't allow you to view or selectively delete
scheduled items (you can only delete all scheduled items).  It does
however allow you to schedule things down to the second and has a
feature which allows you to repeat a command every n seconds.

--
John A. Sauter                         Industrial Technology Institute
Internet: john@iti.org                 PO Box 1485
                                       Ann Arbor, MI 48106
-- 

John A. Sauter                         Industrial Technology Institute
Internet: john@iti.org                 PO Box 1485
                                       Ann Arbor, MI 48106