• New FileSort

    From maskreet@21:1/114 to g00r00 on Wednesday, January 03, 2018 16:56:35
    Just wondering, when you run an MUTIL ini, does it matter where in the ini
    each option is according to when it's run?

    I placed the new FileSort in my file management ini per the placement in the new mutil.ini, ran it, and it sorted the file bases after generating the allfiles.txt. Had to run it a second time to reflect the order in the allfiles.txt

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From Avon@21:1/101 to maskreet on Thursday, January 04, 2018 11:28:20
    On 01/03/18, maskreet pondered and said...

    Just wondering, when you run an MUTIL ini, does it matter where in the
    ini each option is according to when it's run?

    I suspect it does. Especially if you are running a lot of them from the same .ini

    Best IMHO to create specific .ini for functions you want to control the order of and them call them as part of your batch file when running maintenance.

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From g00r00@21:1/108 to maskreet on Wednesday, January 03, 2018 17:56:47
    Just wondering, when you run an MUTIL ini, does it matter where in the
    ini each option is according to when it's run?

    I placed the new FileSort in my file management ini per the placement in the new mutil.ini, ran it, and it sorted the file bases after generating the allfiles.txt. Had to run it a second time to reflect the order in the allfiles.txt

    No, MUTIL decides the order they should run so that people aren't doing things like packing their user base, then purging it, and reporting that users aren't deleted. Stuff like that sometimes happens if I don't put controls on things.

    In this case, it was just poorly selecting when to run it. In the next build Allfiles will now run after the sort, actually after all file-base related stuff.

    Thank you for pointing this out!

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From maskreet@21:1/114 to Avon on Wednesday, January 03, 2018 18:25:14
    On 01/04/18, Avon said the following...

    On 01/03/18, maskreet pondered and said...

    Just wondering, when you run an MUTIL ini, does it matter where in th ini each option is according to when it's run?

    I suspect it does. Especially if you are running a lot of them from the same .ini

    Best IMHO to create specific .ini for functions you want to control the order of and them call them as part of your batch file when running maintenance.

    Bleh. Just tried it, it doesn't matter where you place it, it seems to run in
    a set order.

    Hey g00r00, would you be able to place the FileSort before generating the AllFiles list?

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From maskreet@21:1/114 to g00r00 on Wednesday, January 03, 2018 20:28:03
    On 01/03/18, g00r00 said the following...

    No, MUTIL decides the order they should run so that people aren't doing things like packing their user base, then purging it, and reporting that users aren't deleted. Stuff like that sometimes happens if I don't put controls on things.

    That makes sense, and I completely agree about controlling what's run, and when.

    In this case, it was just poorly selecting when to run it. In the next build Allfiles will now run after the sort, actually after all file-base related stuff.

    No worries, man. You rock. =)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From Avon@21:1/101 to maskreet on Thursday, January 04, 2018 16:58:22
    On 01/03/18, maskreet pondered and said...

    Bleh. Just tried it, it doesn't matter where you place it, it seems to
    run in a set order.

    All good thanks for confirming (g00r00 too :))

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Jeff Smith@21:1/128 to g00r00 on Wednesday, January 03, 2018 23:54:55

    Hello g00r00!

    No, MUTIL decides the order they should run so that people aren't
    doing things like packing their user base, then purging it, and
    reporting that users aren't deleted. Stuff like that sometimes
    happens if I don't put controls on things.

    In this case, it was just poorly selecting when to run it. In the
    next build Allfiles will now run after the sort, actually after all file-base related stuff.

    That was a question I had been meaning to ask also. So, would it cause any problems IF one were to limit a Mutil ini file to only those stanza's that
    were to be used for a particular intended task? Omitting the rest of the
    file except for things (Log file, Etc.) that were relevent to all tasks.


    Jeff


    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: The Ouijaboard II - Anoka, MN (21:1/128)
  • From g00r00@21:1/108 to Jeff Smith on Thursday, January 04, 2018 11:03:50
    That was a question I had been meaning to ask also. So, would it cause
    any problems IF one were to limit a Mutil ini file to only those
    stanza's that were to be used for a particular intended task? Omitting
    the rest of the file except for things (Log file, Etc.) that were
    relevent to all tasks.

    You just need the general tab and then whatever [stanza] you want to use. An MUTIL.INI could be as short is this:

    [General]
    FileSort = true
    [FileSort]
    attribute = 0
    direction = 0

    Of course that example wouldn't have any logging, so you might want to add in the logging options from General as well.

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Jeff Smith@21:1/128 to g00r00 on Thursday, January 04, 2018 11:48:22

    Hello g00r00!

    04 Jan 18 11:03, you wrote to me:

    You just need the general tab and then whatever [stanza] you want to
    use. An MUTIL.INI could be as short is this:

    [General]
    FileSort = true
    [FileSort]
    attribute = 0
    direction = 0

    Of course that example wouldn't have any logging, so you might want to
    add in the logging options from General as well.

    That is what I suspected would be the case but wanted to verify.



    Jeff


    --- GoldED+/LNX 1.1.5-b20170303 / Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: The Ouijaboard II - Anoka, MN (21:1/128)
  • From Beery@21:4/109 to Jeff Smith on Thursday, January 04, 2018 16:24:01
    Paul had a youtube video where he demonstrated that exact thing. Remove the pieces you are not using from the first stanza, and leave only the configuration(s) you are using.

    He then had ini files he called to import as well export mail, a nightly maitenance ini, nodelist tossing, etc.

    Beery

    --Beery Miller -- 9640 News BBS -- 9640news.ddns.net:9640 --

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: 9640 News BBS (21:4/109)
  • From Nugax@21:1/107 to All on Saturday, January 06, 2018 09:25:57
    That's how I have it. I have an ini directory with ini made for every thing I do.

    Then I have Linux scripts or windows batch files written for the acitvity.

    Eg. import_mail.sh or toss_tic


    Or a complex script like toss_to_downlinks that have many ini files ran.



    On 10:24 04/01 , Beery wrote:
    Paul had a youtube video where he demonstrated that exact thing. Remove the >pieces you are not using from the first stanza, and leave only the >configuration(s) you are using.

    He then had ini files he called to import as well export mail, a nightly >maitenance ini, nodelist tossing, etc.

    Beery

    --Beery Miller -- 9640 News BBS -- 9640news.ddns.net:9640 --

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: 9640 News BBS (21:4/109)


    --
    yrNews Usenet Reader for iOS
    http://appstore.com/yrNewsUsenetReader

    --- Mystic BBS/NNTP v1.12 A38 2018/01/01 (Linux/64)
    * Origin: -=The ByteXchange BBS : bbs.thebytexchange.com=- (21:1/107)