• recycle and won't re-read timed event config

    From Ragnarok@VERT/DOCKSUD to DOVE-Net.Synchronet_Discussion on Thursday, October 17, 2019 15:30:23
    I modify a external timed event (due typo error in the parameter path),
    trigger touch recycle semaphore file to reload and touch event semaphore
    to force run, but still use old config.

    need i to restart the sbbs daemon?

    run event:

    Oct 17 15:22:45 localhost synchronet: evnt Semaphore signaled for Timed
    Event: NEWSLNK2
    Oct 17 15:22:45 localhost synchronet: evnt Running timed event: NEWSLNK2
    Oct 17 15:22:45 localhost synchronet: evnt NEWSLNK2 Executing external: ?newslink.js /sbbs/ctrl/neslink.ferchobbs.cfg
    Oct 17 15:22:45 localhost synchronet: evnt NEWSLNK2 Synchronet NewsLink
    1.111 session started
    Oct 17 15:22:45 localhost synchronet: evnt NEWSLNK2 !Error 2 opening /sbbs/ctrl/neslink.ferchobbs.cfg
    Oct 17 15:22:45 localhost synchronet: evnt Timed event: NEWSLNK2 returned 0

    edit the config via scfg and recycle:

    Oct 17 15:23:03 localhost synchronet: mail Recycling server...
    Oct 17 15:23:05 localhost synchronet: mail Synchronet Mail Server
    Revision 1.717 Debug
    Oct 17 15:23:05 localhost synchronet: mail Compiled Oct 10 2019 10:37:55
    with GCC 6.3.0
    Oct 17 15:23:05 localhost synchronet: mail SMBLIB 2.61 (format 1.21)
    Oct 17 15:23:05 localhost synchronet: mail Initializing on Thu Oct 17
    15:23:05 2019 with options: 60420c04
    Oct 17 15:23:05 localhost synchronet: mail Loading configuration files
    from /sbbs/ctrl
    Oct 17 15:23:05 localhost synchronet: mail Temporary file directory: /sbbs/temp/

    [ blablablablba]


    force again the event:

    Oct 17 15:23:45 localhost synchronet: evnt Semaphore signaled for Timed
    Event: NEWSLNK2
    Oct 17 15:23:45 localhost synchronet: evnt Running timed event: NEWSLNK2
    Oct 17 15:23:45 localhost synchronet: evnt NEWSLNK2 Executing external: ?newslink.js /sbbs/ctrl/neslink.ferchobbs.cfg
    Oct 17 15:23:45 localhost synchronet: evnt NEWSLNK2 Synchronet NewsLink
    1.111 session started
    Oct 17 15:23:45 localhost synchronet: evnt NEWSLNK2 !Error 2 opening /sbbs/ctrl/neslink.ferchobbs.cfg
    Oct 17 15:23:45 localhost synchronet: evnt Timed event: NEWSLNK2 returned 0

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Thursday, October 17, 2019 12:44:10
    Re: recycle and won't re-read timed event config
    By: Ragnarok to DOVE-Net.Synchronet_Discussion on Thu Oct 17 2019 03:30 pm

    I modify a external timed event (due typo error in the parameter path), trigger touch recycle semaphore file to reload and touch event semaphore
    to force run, but still use old config.

    need i to restart the sbbs daemon?

    No, not normally.

    digital man

    This Is Spinal Tap quote #35:
    Jeanine Pettibone: You don't do heavy metal in Dubly, you know.
    Norco, CA WX: 73.9°F, 54.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Friday, October 18, 2019 13:39:29
    El 17/10/19 a las 16:44, Digital Man escribió:
    Re: recycle and won't re-read timed event config
    By: Ragnarok to DOVE-Net.Synchronet_Discussion on Thu Oct 17 2019 03:30 pm

    I modify a external timed event (due typo error in the parameter path), trigger touch recycle semaphore file to reload and touch event semaphore to force run, but still use old config.

    need i to restart the sbbs daemon?

    No, not normally.

    digital man

    i can reproduce.. i change the cmdline from timed event and then
    reclycle , these settings do not update until bbs restart.

    it's not a big problem.. but what is expected is that when recycling
    these new values are taken i think


    thanks!

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Friday, October 18, 2019 11:48:23
    Re: Re: recycle and won't re-read timed event config
    By: Ragnarok to Digital Man on Fri Oct 18 2019 01:39 pm

    El 17/10/19 a las 16:44, Digital Man escribió:
    Re: recycle and won't re-read timed event config
    By: Ragnarok to DOVE-Net.Synchronet_Discussion on Thu Oct 17 2019 03:30 pm

    I modify a external timed event (due typo error in the parameter path), trigger touch recycle semaphore file to reload and touch event semaphore to force run, but still use old config.

    need i to restart the sbbs daemon?

    No, not normally.

    i can reproduce.. i change the cmdline from timed event and then
    reclycle , these settings do not update until bbs restart.

    it's not a big problem.. but what is expected is that when recycling
    these new values are taken i think

    It sounds like the recycle isn't working then. The entire configuration (stored in the 'scfg' global variable in main.cpp) is re-read upon recycling.

    digital man

    This Is Spinal Tap quote #29:
    I find lost luggage. I locate mandolin strings in the middle of Austin!
    Norco, CA WX: 71.1°F, 58.0% humidity, 1 mph NNW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net