• auto posting policy/rules

    From Nicola Mettimano@2:335/601 to All on Fri Sep 2 16:51:38 2022
    Hy guys, is there a way to auto post every a specific day of the month (like 1) policy/rules on echo areas?

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Jay Harris@1:229/664.1 to Nicola Mettimano on Fri Sep 2 14:03:48 2022
    *** Quoting Nicola Mettimano from a message to All ***

    Hy guys, is there a way to auto post every a specific day of the
    month (like 1) policy/rules on echo areas?

    Yup, you would use mutil's PostTextFiles stanza to do this. e.g:

    [=== begin postrules.ini ===]

    [general]
    PostTextFiles = true
    logfile=mutil.log
    logcache=true
    loglevel=2
    logtype = 0

    [PostTextFiles]
    totalfiles = 1

    file1_name = echorules.txt
    file1_baseidx = 2
    file1_from = Sysop
    file1_to = All
    file1_subj = My subject
    file1_addr = 0:0/0
    file1_delfile = false

    [=== end postrules.ini ===]


    Each time you run ./mutil postrules.ini it will post that text file to that specific base ID. You'll just setup an event in Mystic (or cron) to run
    that as often as you'd like that text file posted.


    Jay

    ... A little inaccuracy sometimes saves tons of explanation

    --- Telegard v3.09.g2-sp4/mL
    * Origin: Northern Realms | tg.nrbbs.net | 289-424-5180 (1:229/664.1)
  • From Nicola Mettimano@2:335/601 to Jay Harris on Fri Sep 2 22:22:06 2022
    yeah men, cron is better because, e.g. in my case, i need to post each 1 of the month and mystic event system can't schedule this way i think....

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)