If I run this batch command stand alone it works perfect and produces the files no issues. I tried to place this in mystic config > event editor and set it up as a hourly and a shell event with the path to run the.BAT and it does not run. All I get in the logs is Event Result:1 .... ThisThe first thing I'd check is the path to the executable. You might have to spell everything out with absolute path names.
I cam guessing is failed.
Is it possible to run a batch file outside of Mystic? All this batchSure. You can use the Windows Task Scheduler for this.
does is runs a telnet script pull down the local weather and then place that text file in a directory.
If I run this batch command stand alone it works perfect and produces the files no issues. I tried to place this in mystic config > event editor and set it up as a hourly and a shell event with the path to run the.BAT and it does not run. All I get in the logs is Event Result:1 .... This I cam guessing is failed.
Is it possible to run a batch file outside of Mystic? All this batch does is runs a telnet script pull down the local weather and then place that text file in a directory.
Here is the Batch file...
@echo off
Call TIXWeather.bat
Call TIXScrub.bat
Call MLBWeather.bat
Call MLBScrub.bat
Copy /Y Tixforcast.msg c:\mystic\gfiles\forcast
copy /Y Mlbforcast.msg C:\mystic\gfiles\forcast
On Mystic BBS I created a new Menu with an item selection to display the files option 1 and option 2.
Yep, but just to clarify, Mystic has no way of knowing whether your batch file did what you intended it to do or not. All Mystic knows is whether the batch file executed or not when it tried to invoke it. So if Mystic ran the batch file but the batch file failed to telnet anywhere, reformatted your hardIf I run this batch command stand alone it works perfect and produces th files no issues. I tried to place this in mystic config > event editor set it up as a hourly and a shell event with the path to run the.BAT and does not run. All I get in the logs is Event Result:1 .... This I cam guessing is failed.Yep, the result:1 means that it is trying to run but failing.
On 18 Aug 2019, Argos said the following...Thanks Jeff .. Made some changes and place this into Windows Task Scheduler. Working like a champ.
If I run this batch command stand alone it works perfect and produces files no issues. I tried to place this in mystic config > event edit and set it up as a hourly and a shell event with the path to run the. and it does not run. All I get in the logs is Event Result:1 .... Th I cam guessing is failed.The first thing I'd check is the path to the executable. You might have
to spell everything out with absolute path names.
Is it possible to run a batch file outside of Mystic? All this batch does is runs a telnet script pull down the local weather and then pla that text file in a directory.Sure. You can use the Windows Task Scheduler for this.
Jeff.
--- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
* Origin: Perceptronica (21:1/180)
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 92 |
Nodes: | 16 (0 / 16) |
Uptime: | 04:54:03 |
Calls: | 5,233 |
Calls today: | 2 |
Files: | 8,493 |
D/L today: |
121 files (439M bytes) |
Messages: | 353,174 |