| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | dayboot1 question |
mark lewis wrote in a message to Gerald Miller:
ml>> can dayboot handle running items on specific dates or as soon after
What is dayboot?
ml> looks right to me... now to figure out how to denote a specific
ml> date in the .dat file... [looking] well... you use a + to show
ml> every X days... maybe an = to denote the exact day of the month?
Whats the format of the dat file?
If it is pure ASCII 4DOS/4NT/4OS2 will read the DAT file its self.
SET BAUDR1=%{at}SUBSTR[%{at}LINE[E:\RA\NODE-%TASK%\DOBBS%TASK%.BAT,1],0,75]
SET COMP1=%{at}SUBSTR[%{at}LINE[E:\RA\NODE-%TASK%\DOBBS%TASK%.BAT,2],0,75]
SET TIME1=%{at}SUBSTR[%{at}LINE[E:\RA\NODE-%TASK%\DOBBS%TASK%.BAT,3],0,75]
SET NODE1=%{at}SUBSTR[%{at}LINE[E:\RA\NODE-%TASK%\DOBBS%TASK%.BAT,4],0,75]
SET ARQR1=%{at}SUBSTR[%{at}LINE[E:\RA\NODE-%TASK%\DOBBS%TASK%.BAT,5],0,75]
VAR TO STORE INFO
GET PART OF STRING IN FILE
FILE TO GET INFO FROM
LINE NUMBER IN FILE
STARTING CHAR IN FILE TO GET INFO
ENDING CHAR IN FILE TO GET INFO
If dayboot runs once everytime the PC is booted there some ways to do it and
make sure it is check every day.
If you run a BBS; in the BBS Event have ir run a BAT file, or in your mailer's
Event run a BAT file.
Incase the who;e BAT file in a IFF statement
If you are running an OS like WINDOWS that has a TASK MGR have it run a BAT file
once a day. Creat a Task and set it for Daly.
Your AUTOEXEC.BAT can run the BAT file also.
{at}ECHO OFF
CLS
:
IFF "%{at}UPPER[%_DOW]" == "FRI" THEN
.
.
.
ENDIFF
[EOF]
Hope this Helps,
Robert
--- FPD v2.5b.081103 GoldED+/W32 1.1.5-30512
* Origin: www.fido-deluxe.de.vu Fido-Paket -IP- deluxe (2:249/3110.78)SEEN-BY: 633/267 270 @PATH: 249/3110 2432/200 774/605 123/500 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™.