[comp.binaries.ibm.pc] AT -- Event Scheduler

anderson@vms.macc.wisc.edu (Jess Anderson) (06/02/88)

[Source code would be nice for this.  Anyone know if it's available?  DF]

Someone asked for an event scheduler.  I've used this and found
it adequate for my purposes.  The READ.ME file explains where I
got it.  It is a TSR that explains itself when you install it,
but I created a file called AT.DOC that contains this output.

Name          Length    Stowage    SF   Size now  Date       Time    CRC
============  ========  ========  ====  ========  =========  ======  ====
AT.COM            4096  Crunched   43%      2339   3 Oct 87  10:02a  D664
AT.DOC             857  Crunched   31%       599  27 May 88   6:59p  8F07
READ.ME           1642  Crunched   29%      1178  27 May 88   6:53p  A89B
        ====  ========            ====  ========
Total      3      6595             38%      4116

section 1/1 of uuencode 2.13 of file at.arc    by R.E.M.

-----cut here-----cut here-----cut here-----cut here----------
begin 644 at.arc
M&@A!5"Y#3TT`-P,```3?(PD``$,/6E!DU@`0```,Z?0="$(%Q!8<+V38>('C8
M1A<0*,:D`!$C1T,00M*P80/"B)PW;-*L`0`)`HL`)`N<3+D2DDJ4+EN^9`ES"
M9LR:,G/BW$FSYTV?-H.>_/?/&,Q_))%"4JJ4E@=&R!P!XS<HWS\Z!=!=`K!.0
MP2!]5PLXPH8N`0!&RQP-VV4CP(=AB[0!^M4V0)T!Z`0`P#<,2A0K5PSP6^2#L
M1@!`/0#4,7#,@.&3#@XL^K4CP*)[K`@!J[-OD;,5S_1=B9++CH$5SL8)F$<J8
MRY<9]G(4#F"'0`H'A@'Q:GOU00Y>E6NG8%1YD+$#Z]09.]06P+%#E4\^OX'2:
M^:$<U?<=^.(E"Y9A469L,S&W.9\D6`<-0Q[/<^;-^U;$.Q0/EVD3*PP0"[`#M
MV9P5)A"V7U4!T.$!%E"8D,@AU"EX"78*4A:`"<O5Q9J"/NS7"5^=Y#/,!QQ\X
MX(&('Y`X(A136.&!`Q_\XP`)`>#A1AURA&*"91Z@8)D-*000B#E(^0,,#SS(B
MH0(L`/A##"#\8"!'"+0D.8P.G,1Q@!T7S!*`/\<`\@\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0@)3E@24O\VE$9Y+9*&@!**
``
end
size    4205
 
==Jess Anderson======(home:)========INTERNET: anderson@vms.macc.wisc.edu====
| 1210 W. Dayton     2838 Stevens   UUCP: {harvard,rutgers,allegra,ucbvax} |
| Madison, WI 53706  Madison 53705   !uwvax!vms3.macc.wisc.edu!anderson    |
==608/263-6988=======608/238-4833===BITNET: anderson@wiscmacc===============

--
Dick Flanagan, vacation moderator of comp.binaries.ibm.pc
{backbones}!ucbvax!ucscc!slvblc!dick  or  slvblc!dick@ucscc.ucsc.edu

ralf@rutgers.edu (Ralf Medow) (06/19/88)

[This is enhanced documentation for the AT event scheduler posted
earlier this month.  DF]

anderson@vms.macc.wisc.edu (Jess Anderson) writes:

> Someone asked for an event scheduler.  I've used this and found
> it adequate for my purposes.  The READ.ME file explains where I
> got it.  It is a TSR that explains itself when you install it,
> but I created a file called AT.DOC that contains this output.
>
> Name          Length    Stowage    SF   Size now  Date       Time    CRC
> ============  ========  ========  ====  ========  =========  ======  ====
> AT.COM            4096  Crunched   43%      2339   3 Oct 87  10:02a  D664
> AT.DOC             857  Crunched   31%       599  27 May 88   6:59p  8F07
> READ.ME           1642  Crunched   29%      1178  27 May 88   6:53p  A89B
>         ====  ========            ====  ========
> Total      3      6595             38%      4116

In the READ.ME file the author of the program mentions that AT probably
doesn't work in conjunction with CED or DOSEDIT. I tried it out with
CED and it works.  Rather than making a README.TOO file for the archive
I summarized AT.DOC, READ.ME, and what I found out in the following
AT.DOC (formatted with leading blanks so that a printout looks nice).

     Ralf Medow
     Ga Tech Box 31446          {gatech,hp-lsd}!gtuplab!ralf
     Atlanta, GA 30332          ralf@gtuplab.UUCP

-----cut here-----cut here-----cut here-----cut here----------


                                  AT
                                  ==

        AT [8/26/87] Command Scheduler   (c) 1987 Bill Frolik

        Schedule a DOS command for execution at a specified time and
        date.

        usage: AT [ ? | -num | [+]time [date] DOS command line ]

           ?  shows currently scheduled events.

        -num  deletes item number <num> from the schedule.

        date  is month and date, and may be specified in MM-DD, MM/DD or
              DD.MM format.  Note that a year may not be specified.

        time  is specified in hour and minutes, run together or
              optionally separated by a colon.  An 'am' or 'pm' may be
              appended to the time string; a plus sign signifies time
              relative to the current time.

        Scheduled commands are only issued when your system is waiting
        for you to enter a DOS command at the current command level;
        any other activity postpones command execution.

        When initially installed, AT tries to learn when it's
        appropriate to issue commands -- it will probably get confused
        if a command editor (like CED or DOSEDIT) is installed on top
        of COMMAND.COM.

        [ Remark by a user:
          If CED is installed first and AT afterwards, AT works.  AT
          issues commands when CED is waiting for a user input, i.e. 
          not between concatenated commands (when 'prog1^prog2' is
          typed at the DOS prompt and AT wants to issue a command while
          prog1 is running, this command will not be issued until after
          prog2 is finished).  All commands issued by AT go thru CED,
          i.e.  synonyms, command concatenation etc may be used in
          AT-scheduled commands.  However, 'at +5 cmd1^cmd2' executes
          'at +5 cmd1' first, scheduling cmd1, and executes cmd2
          immediately afterwards; in order to schedule concatenated
          commands, one has to use the CED ignorecharacter: 
          '^Nat +5 cmd1^cmd2' schedules cmd1 and cmd2.  I didn't try
          what happens if AT is installed before CED, but I guess then
          AT may issue commands between commands concatenated by CED
          and commands issued by AT do not go thru CED, i.e synonyms
          etc cannot be used in AT-scheduled commands.

                                     Ralf Medow, ralf@gtuplab.UUCP ]

        AT is a TSR and the schedule is kept in RAM; thus the schedule
        goes away at power-off or reboot.

                    Bill Frolik
                    hp-pcd!bill
                    Hewlett-Packard Portable Computer Division
                    Corvallis, Oregon

-----cut here-----cut here-----cut here-----cut here----------