• Mystic poll echomail event

    From Daff@21:3/141 to All on Saturday, April 17, 2021 21:19:30
    Hi
    I am trying to setup an event for automatic echomail poll.
    Active yes
    Type hourly
    Exec hour 0
    Exec min 7
    Shell fidopoll forced|mutil echomail.ini
    Semaphore is not set
    Kill after is not set
    Warning is 0
    All week days are set to yes.

    Mystic is started via mis SERVER on a Linux machine.
    When this event executes the result in Event tab shows the execution time and result of 127. There is no information in fidopoll and mutil log files for activity. Debug in .ini file is set 3

    I tried to change the shell line to ./fidopoll forced|mutil echomail.ini but with no success. If the last command is executed in a terminal window it
    polls correctly and sends/receives echomail.

    So I am looking for a guru's advice :-)

    Thanks
    Daff

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Thrace BBS (21:3/141)
  • From bcw142@21:1/101 to Daff on Sunday, April 18, 2021 07:56:22
    On 17 Apr 2021 at 09:19p, Daff pondered and said...
    I am trying to setup an event for automatic echomail poll.
    Shell fidopoll forced|mutil echomail.ini

    ./mis poll forced|./mutil echomail.ini
    A46 fidopoll becomes mis poll, Linux needs start directory ./
    Above should fix it.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Nuke@21:3/134 to Daff on Saturday, April 17, 2021 19:45:59

    On 04/18/2021 12:19 am Daff said...
    Hi I am trying to setup an event for automatic echomail poll. Active yes Type hourly Exec hour 0 Exec min 7 Shell fidopoll forced|mutil echomail.ini Semaphore is not set Kill after is not set Warning is 0 All week days are set to yes.
    I tried to change the shell line to ./fidopoll forced|mutil echomail.ini but with no success. If the last command is executed in a terminal window it polls correctly and sends/receives echomail.

    try ./fidopoll forced|./mutil (and possibly) ./echomail.ini (or full path to ini) - a lot of people (including me) got bit by the bug. I used full path myself for the ini files.

    ./multi /mystic/echomail.ini

    --
    ~Nuke SYSOP Westwood BBS II King George VA USA
    nuke@21:3/134 (fsx) 25:25/19 (metro) nuke@westwoodbbs.net (new crap)
    telnet westwoodbbs.net 8888 (ssh 8889)
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.22.0)
    * Origin: Westwood BBS II (21:3/134)
  • From Zip@21:1/202 to Daff on Sunday, April 18, 2021 09:42:09
    Hello Daff!

    On 17 Apr 2021, Daff said the following...
    Exec min 7

    That would be every 7th minute (rather often)?

    I tried to change the shell line to ./fidopoll forced|mutil echomail.ini but with no success. If the last command is executed in a terminal

    The mutil command also needs ./ in front of it (it is also executed from the Mystic base directory, which usually isn't in one's PATH) -- try adding that to see if that helps!

    Best regards
    Zip

    --- Mystic BBS v1.12 A47 2021/04/08 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From Daff@21:3/141 to bcw142 on Sunday, April 18, 2021 09:51:56
    ./mis poll forced|./mutil echomail.ini
    A46 fidopoll becomes mis poll, Linux needs start directory ./

    Thanks! That did the trick!

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Thrace BBS (21:3/141)
  • From Daff@21:3/141 to Zip on Sunday, April 18, 2021 12:49:16
    Hi Zip,

    That would be every 7th minute (rather often)?
    I was wondering if it is so. So turned on the highest debug level and watched the log files - on the 7th minute after a sharp hour a connection is logged
    in the poll and echomail logs. If I set the event to Period instead of Hourly then maybe it will execute every 7th minute (and we don't want that) :-)


    The mutil command also needs ./ in front of it (it is also executed from the Mystic base directory, which usually isn't in one's PATH) -- try adding that to see if that helps!

    Thanks for the remark - actually it was a typing error when composing the msg.

    Now it works :)

    Best wishes,
    Daff

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Thrace BBS (21:3/141)
  • From Zip@21:1/202 to Daff on Sunday, April 18, 2021 15:09:39
    Hello Daff!

    On 18 Apr 2021, Daff said the following...
    connection is logged in the poll and echomail logs. If I set the event
    to Period instead of Hourly then maybe it will execute every 7th minute

    Ah, that's what I was thinking of! Sorry...

    Thanks for the remark - actually it was a typing error when composing
    the msg.

    You're very welcome! :)

    Best regards
    Zip

    --- Mystic BBS v1.12 A47 2021/04/08 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)