Dec 132017
 
Daily Scheduler for Commands to be performed only ONCE a day (BETA).
File DAILY020.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Daily Scheduler for Commands to be performed only ONCE a day (BETA).
File Name File Size Zip Size Zip Type
DAILY.DOC 3898 1827 deflated
DAILY.EXE 14281 9129 deflated
DAILY.TAB 79 70 deflated

Download File DAILY020.ZIP Here

Contents of the DAILY.DOC file


DAILY.EXE version 0.20 is FREEWARE - You are granted complete freedom
to copy and distribute AS LONG AS it is not sold, modified, or the
included files are removed.
------------------------------------------------------------------------

DAILY 0.20 (BETA)
(c) 1989 DC Pro, All Rights Reserved (You can _have_ the Lefts)
3738A Madison Lane, Falls Church, VA 22041
(703) 820-3922


Introduction:


DAILY is a simple event scheduler for people who like to do

*THINGS* to their computers on a daily basis. As an ezample, I like

to run FORMAT-RECOVER and DISK-UNFRAGMENT utilities on my machine

about once a day. However, since I do the software development dance,

my system gets rebooted about 8 gaskillion times a day. If I keep the

daily chores in the AUTOEXEC file, the terribly obedient machine runs

them every time I blow up the machine. These time-consuming chores

really aren't necessary every time the machine reboots. So, DAILY was

born.


DAILY is a simple scheduler that runs a list of commands

ONCE during any 24-hour period. That's all.


I'm sure there are better schedulers with more complex and

powerful abilities, but I don't need the hassle of learning a new

program, and maybe you don't either.


How to make it work:


You should have the following files from whatever archive

you extracted this file from: DAILY.EXE DAILY.TAB DAILY.DOC (this

file).


DAILY.EXE should be moved to a directory in your PATH. DOS

will need to find this guy during your AUTOEXEC or whatever .BAT

file you include the DAILY command in.


DAILY.TAB is the TABLE of commands you want to be run each

day. Each line of DAILY.TAB should contain one DOS command. For

example:


ECHO OFF
CLS
ECHO Saving Disk Info Against Possible Crash...
FR C: /SAVE
FR D: /SAVE
FR E: /SAVE
FR F: /SAVE
FR G: /SAVE
ECHO Optimizing Disks...
VOPT C:
VOPT D:
VOPT E:
VOPT F:
VOPT G:


Each line will be submitted to COMMAND.COM to be executed. Note:

Using a '@' before a MS-DOS 3.3 command to suppress the default

ECHO of the command will not work. DAILY uses the system() call

and apparently the '@' prefix to a command causes DOS to try and

find a command '@COMMAND'.

DAILY.TAB should be located in THE SAME DIRECTORY as DAILY.EXE.

DAILY.EXE looks for the .TAB file in it's own directory.



To set DAILY for executing each time you reboot, place

the DAILY command in your AUTOEXEC file. For example:


SET PATH=F:\USR\BIN;C:\BIN;C:\BATCH;C:\;
SET PROMPT=$P$G
DAILY
CACHE ON
SA BRIGHT YELLOW ON BLUE



DAILY creates a file named DAILY.LST that simply shows the last

date and time DAILY got a chance to execute the commands in

DAILY.TAB. DAILY.LST will be created in the same directory as

DAILY.EXE is located.


After executing DAILY for the first time, subsequent

invocations of DAILY will only execute the commands in DAILY.TAB if

one of the following conditions is true:


1)DAILY.LST has been deleted

2)DAILY.TAB has been modified since the last

time DAILY was executed

3)24 hours have past since the last execution

of the commands in DAILY.TAB



DAILY is a pale of the Unix cron command and is not meant

as a substitute. However, a DOS version of cron is in the works. If

you find DAILY useful and would like report a bug, ask for a new

feature, or get on the "send-me-the-newest-version" list, please

contact Doug Lucy at DC Pro. None of these requests will cost you

any money and will hopefully result in a better DAILY and maybe

even a DOS cron program!


------------------------------------------------------------------
DC Pro, 3738A Madison Lane, Falls Church, VA 22041 (703) 820-3922
Doug Lucy can also be reached thru Slipknot! BBS at 301-628-2324


 December 13, 2017  Add comments

Leave a Reply