Section One BBS

Welcome, Guest.


Subject: Re: auto posting policy/rules Date: Fri Sep 02 2022 02:03 pm
From: Jay Harris To: Nicola Mettimano

 *** Quoting Nicola Mettimano from a message to All ***

 NM> Hy guys, is there a way to auto post every a specific day of the
 NM> 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)

Previous Message       Next Message
In Reply To: auto posting policy/rules (Nicola Mettimano)
Replies: Re: auto posting policy/rules (Nicola Mettimano)