TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Gerald Miller
from: mark lewis
date: 2003-11-26 16:37:42
subject: dayboot1 question

ml>> can dayboot handle running items on specific dates or as soon after
 ml>> that date? the concept of running every X days is ok for some things
 ml>> but if i need something run on the 25th, i can't just say +30 for the
 ml>> days between runs as it wouldn't always run /on/ the 25th...

 ml>> i'm not yet actively using dayboot in a production environment because
 ml>> i'm needing this one capability... the main thing is that if the
 ml>> machine is locked up on the 24th and doesn't get unstuck until the
 ml>> 26th, that task for the 25th must still run...

 GM> I'm sorry for taking so long to answer your post, but my
 GM> uplink crashed and he was not able to get his system back
 GM> up and running until yesterday...

understand...

 GM> Now, to attempt to answer your questions:

i see... looks like i may have to do something similar to what i do in some
of my programs that require to know the day of the month... hummm... then
again, maybe not... 4DOS knows what the day of the month is...

 {at}DAY[mm-dd-yy]       Day of the month

it should be possible to work that into dayboot1 so that one can use x days
between runs or certain day's of the month...

echo %_date
11-26-03

echo %{at}day[%_date]
26

looks right to me... now to figure out how to denote a specific date in the
.dat file... [looking] well... you use a + to show every X days... maybe an
= to denote the exact day of the month?

[** SAMPLE **]

PATH\PROGRAM TO RUN                 ³AFTER³        ³        ³DAYS ³
                                    ³ DAYS³LAST RUN³NEXT RUN³ LEFT³ASK
ÄÄÄÄ 001 ÄÄÄÄÄÄÄ Time: 13:07:59 ÄÄÄÄÅÄÄÄÄÄÅMM-DD-YYÅMM-DD-YYÅÄÄÄÄÄÅÄÄÄ
STEP_0.BTM                          ³1    ³11-22-03³11-23-03³1    ³N
STEP_1.BTM                          ³1    ³11-22-03³11-23-03³1    ³N
STEP_2.BTM                          ³+7   ³11-16-03³11-23-03³1    ³Y
STEP_3.BTM                          ³+14  ³11-09-03³11-23-03³1    ³N
STEP_4.BTM                          ³+14  ³11-16-03³11-30-03³8    ³
26TH.BTM                            ³=26  ³11-26-03³12-26-03³30   ³

[** END SAMPLE **]

hummm... looks like it would work to me? what about to you? i haven't
looked into the code and would have to learn it before attempting to put
this mod in... seems like it should be easy enough to do...

so, what do you say? add a great enhancement to an already good util?

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 633/267 270
@PATH: 3634/12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.