• Batch Files as a Timed Event

    From Tim Whitson@VERT/FQBBS to All on Sat Feb 19 21:31:57 2022
    I have a NIGHT.BAT file that runs all the maintenance files for the door games. I have noticed it is not running under the timed events. If I execute it manually but double clicking on it, it runs just fine. If I tell it to run under a Forced Time Event, it does not run. It returns with a 255 code. Any ideas?

    Tim

    ---
    þ Synchronet þ The Fool's Quarter - fqbbs.synchro.net
  • From Digital Man@VERT to Tim Whitson on Sun Feb 20 11:47:07 2022
    Re: Batch Files as a Timed Event
    By: Tim Whitson to All on Sat Feb 19 2022 09:31 pm

    I have a NIGHT.BAT file that runs all the maintenance files for the door games. I have noticed it is not running under the timed events. If I execute it manually but double clicking on it, it runs just fine. If I tell it to run under a Forced Time Event, it does not run. It returns with a 255 code. Any ideas?

    Past your configuration for it (from SCFG) here and we'll have a look-see.
    --
    digital man (rob)

    Synchronet "Real Fact" #14:
    SBBSecho was originally written by Allen Christiansen (King Drafus) in 1994 Norco, CA WX: 64.1øF, 48.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tim Whitson@VERT to Digital Man on Sun Feb 20 13:39:05 2022
    Re: Batch Files as a Timed Event
    By: Digital Man to Tim Whitson on Sun Feb 20 2022 11:47 am

    Past your configuration for it (from SCFG) here and we'll have a look-see.

    Internal Code NIGHTLY
    Start-up Directory c:\sbbs\xtrn
    Command Line night.bat
    Enabled Yes
    Execution Node Any
    Execution Months Any
    Execution Days of Month Any
    Execution Days of Week All
    Execution Time 00:00
    Requires Exclusive Execution No
    Force Users Off-line for Event No
    Native Executable/Script No
    Use Shell or New Context Yes
    Background Execution No
    Always run After Init/Re-init No
    Error Log Level Informational

    The batch file does work. I just need it to run sometime early after midnight.

    Thank you,

    Tim
    --- SBBSecho 3.14-Win32
    * Origin: The Fool's Quarter, fqbbs.synchro.net (1:105/500)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net