FBB logo image

CRON.SYS



CRON.SYS (\FBB\SYSTEM).

First, be aware of this useful feature:
If CRON.SYS does not exist, FBB looks for 
CRON_D.SYS (for DosFBB)
CRON_W.SYS (for WinFBB)
CRON_L.SYS (For LinFBB)
So it is possible to have for example DosFBB and WinFBB files in the PC
at the same time, even if they need different CRON-files.  This is useful
at sites where you want to change from WinFBB to DosFBB from time to time..

 This file is in the SYSTEM directory. The BBS looks in this file once every
hour. If the hour and date is right, the BBS will execute the commands in
this file.

 DOS-programs are run with X or D command, like X DOTHIS.EXE or D DOTHAT.EXE.
When running BAT files, a COMMAND.COM is automatically first sent. That needs
some more memory.

 Minute/Period option in the "M" command line:
M port U 10/20 : Port nb is changed to USER mode and min/per to 10/20

CRON.SYS also accepts the litteral port definitions of PORT.SYS. Ex :
M PACTOR U 10/20

In DosFBB the the screen is saved with D-command, and reappears after the 
program has terminated.  With X the program will not write to the screen.

 #
 # File CRON.SYS. Here DOS-commands can be executed to fixed
 # hours, also Gateway, Yapp, Bip and Talk can be turned on or
 # off.
 # Format: TALK YES (NO), BIP YES (NO), GATE 1 YES (NO), YAPP 2
 # YES (NO).
 # DOS-program is run like in FORWARD.SYS with D or X command.
 #
 #  Minute/Period option in the "P" command line:
 #  P port U 10/20 : Port nb is changed to USER mode and min/per to 10/20
 #
 # Change mode on a port:  M nb U : Port number nb is changed to USER mode.
 #                         M nb B : Port number nb is changed to BBS mode.
 #                         M nb G : Port number nb is changed to GUEST mode.
 #
 # As in FORWARD.SYS, you can use H for hour and D for day.
 # 0=sunday, 1=monday,.....6=saturday.
 # Also IF-ENDIF and IF-ELSE-ENDIF is allowed
 #
 # Possible formats for time:
 # IF H 0-9 All hours between 00 and 09.
 # IF H 0,9 Only at 00 and 09.
 # IF H 0,9-11 At 00, and all other hours between 09 and 11.
 # IF G (same as IF H, but in UTC time)
 # IF D 0-2 Sunday, monday tuesday.
 #
 TALK NO
 BIP NO
 GATE 1 YES
 GATE 2 YES
 YAPP 1 YES
 YAPP 2 YES
 IF D 1-5
   IF H 15-23
     GATE 3 YES
     YAPP 3 YES
   ELSE
     GATE 3 NO
     YAPP 3 NO
   ENDIF
 ELSE
   IF H 8-23
     GATE 3 YES
     YAPP 3 YES
   ELSE
     GATE 3 NO
     YAPP 3 NO
   ENDIF
 ENDIF
 X DOTHIS ARG1 ARG2 ARG3
 D DOTHAT ARG1 ARG2


Contents image