Home
» Other Stuff » Offline database driven scripts
Offline database driven scripts
| October 21, 2008 | Posted by The Futtock under Other Stuff |
Running a database driven scala script is great but what do you do if the connection to the database goes down?
The solution is to not have a database driven script!
Seriously though, make the script text file driven, so that all the data required by the script comes from a text file. Then have a VBScript (or what ever windows script you use) update the text file.
You can have the Scala script run the “updater” VBScript, but remember to have Wait turned off, otherwise the scala script will stop everytime it ries to update the text file.
Recent Comments