I just call my batch files from rbase and wait. This is ran from the server as the logged in user using system scheduler.
This is a batch file I call to stop the webserver so I can back up the database really quick and then restart it. LAUNCH c:\nightly\stopiis.bat||w PAUSE FOR 5 USING 'Waiting for iis stop' CAPTION 'upwarcard' Dan Goldberg From: [email protected] [mailto:[email protected]] On Behalf Of Buddy Walker Sent: Monday, February 16, 2015 3:58 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: UAC on Windows Server with R:BASE Bill If I’m reading this right why not just use a DOS batch file to run your commands. If the …. Means you are running some R:Base programs then start R:Base at each … and then make sure you exit R:Base before each DOS command. ***********start AutoReloader.BAT*********** NET STOP "TeraScript Server 6 Program/script: c:\rbti\RBG95_64\RBG95_64\RBG95_64.exe Arguments: AutoReloader1.rmd StopOterroUsingService.cmd DELETE databaseCopy.RX? COPY database.RX? SAVE RENAME database.RX? databaseCopy.RX? Program/script: c:\rbti\RBG95_64\RBG95_64\RBG95_64.exe Arguments: AutoReloader3.rmd c:\rbdata9\save\todayzipper.cmd *********Ends Here****************** From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Bill Downall Sent: Monday, February 16, 2015 5:04 PM To: RBASE-L Mailing List Subject: [RBASE-L] - UAC on Windows Server with R:BASE Who can help make this easier? I am moving an R:BASE installation to Win 2008 server from Win 2003 server. All this works like a charm on Win 2003 server. An early morning maintenance routine in an R:BASE command file (AutoReloader.rmd) includes a number of lines that run other programs. For example: ZIP NET STOP "TeraScript Server 6" ... ZIP StopOterroUsingService.cmd ... ZIP CMD.EXE /c MOVE database.RX? SAVE ... zip cmd.exe /c c:\rbdata9\save\todayzipper.cmd ... I have a scheduled task that runs as administrator, with highest privileges: Program/script: c:\rbti\RBG95_64\RBG95_64\RBG95_64.exe Arguments: AutoReloader.rmd Start in: (R:BASE application folder) And every one of these commands fails on 2008 Server because of being denied access. I need the hair I'm tearing out, because it's cold here in New England. Help. Bill

