• Semaphore's

    From Immortal@21:1/185 to All on Saturday, November 19, 2016 10:08:00
    Is there a list somewhere of semaphore files that are created by mystic?

    What would be the most efficient way of scheduling things like FileToss or MergeNodelists with the event system? I see there are semaphore's for
    netmail, echomail and qwkmail. Is there one for new tic files? Should I
    just have FileToss run every time I run ImportEchoMail?

    Steve

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Lightning BBS (21:1/185)
  • From Avon@21:1/101 to Immortal on Sunday, November 20, 2016 08:30:00
    On 11/19/16, Immortal pondered and said...

    Is there a list somewhere of semaphore files that are created by mystic?

    I don't think so but I can create one that I know of and others can add to it here. I'll then post to the wiki for all to use.

    Spent 30 mins and here's what I have come up with thus far:

    echomail.in - Mystic creates this file whenever it receives a new file from an authenticated connection via the BINKP server. FIDOPOLL also does the
    same when it receives files during a client transfer. This is true for BINKP, FTP, and Directory tossing.

    echomail.out - Mystic creates this file whenever new messages have been posted in a base assigned to a "echomail" base type.

    netmail.out - Mystic creates this file whenever new messages have been posted in a base assigned to a "netmail" base type.

    newsmail.out - Mystic creates this file whenever new messages have been
    posted in a base assigned to a "newsgroup" base type.

    qwkmail.out - Mystic creates this file whenever new messages have been posted in a base assigned to a QWK network.

    nodeinfo.now - Mystic creates this when a user is logged in to the BBS. Not sure of the purpose of this one?


    Semaphores - Mystic Operational Notes

    - MUTIL will now refuse to run if the semaphore directory does not exist.

    - MUTIL creates a mutil.bsy file in the semaphore directory. If this file
    exists, MUTIL will refuse to run - preventing multiple instances of MUTIL to
    be executed at the same time. If the BSY file has existed for more than a
    day, MUTIL will remove it and run as expected.

    - FIDOPOLL creates a "fidopoll.bsy" in the Semaphore directory while its
    running. This works in the same way as MUTIL does to prevent multiple
    instances of itself from running.

    - MIS creates a "mis.bsy" in the Semaphore directory while its running.
    This works the same way as MUTIL and FIDOPOLL to prevent multiple instances
    of itself from being executed.

    - MIS2 creates a "mis2.bsy" in the Semaphore directory while its running.
    This works the same was as MIS to prevent multiple instances of itself from
    being executed.


    Semaphore Menu Commands

    The whatsnew.txt contains the following info. References to further info on
    the Wiki have been moved by g00r00 out of public domain view while menu
    command documentation is being worked on.

    [snip]

    + Added three new menu commands for creating and evaluating semaphores
    from within the menu system. @NODE can be replaced with the node number if
    desired. See Wiki for more info:

    !C - Creates the semaphore filename in optional data
    !D - Delete the semaphore filename in optional data if it exists
    !E - Check if semaphore filename exists and set result in "OK" ACS.

    [snip]

    Best, Paul.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Avon@21:1/101 to Immortal on Sunday, November 20, 2016 08:32:00
    On 11/19/16, Immortal pondered and said...

    netmail, echomail and qwkmail. Is there one for new tic files? Should I just have FileToss run every time I run ImportEchoMail?

    Not that I know of, and yes it's a good idea to have a ini that calls both
    the following stanzas each time there is something flagged to Mystic as being ready to import:

    ImportEchoMail = true
    FileToss = true

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Immortal@21:1/185 to Avon on Saturday, November 19, 2016 16:52:00
    Not that I know of, and yes it's a good idea to have a ini that calls
    both the following stanzas each time there is something flagged to
    Mystic as being ready to import:

    ImportEchoMail = true
    FileToss = true

    Cool, I'll just do that then. Thanks

    Steve

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Lightning BBS (21:1/185)