[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backing Up TS2Ki Data



PureBytes Links

Trading Reference Links

Roger & Jimmy ... thank you.

First effort was to try AutoHotKey because it rang a bell from a few years back. That brought AutoIt, A recorder, A large tutorial ... etc.

Intimidating.

However, after some experimenting, a little reading, a glass of water ... I looked at the key-stroke recorder and saw:

1. It positively could be aimed at the correct app, namely GlobalServer whether minimized or on screen

2. The resulting macro could then be converted to an executable. (CloseGS.EXE).

3. The CloseGS.exe could be set up in Windows Task Scheduler to run daily.

Start to finish including writing this was less than two hours. The test was successful and I'm confident the GS database will be backed up Wednesday.

I tried my "Aldo's Macro" this morning (as a .BAT file), but without enough documentation to learn to aim it exactly at GS. It didn't work today. Someone else with more time could probably make it work.

The .EXE created today has the advantage of not needing any macro supporting apps running.

Liam

Roger Shepherd wrote:
Hello Liam,

Take a look at this one it's free and may do what you
need.

http://www.autohotkey.com/

Monday, November 27, 2006, 10:54:57 AM, you wrote:

L> In need of an application to schedule GS shutdown daily.

L> As Jimmy has described, TS2Ki protects the data files such that L> GlobalServer must be shut down to allow NT backup to copy them.

L> My system uses Win2K, so I propose to automatically close GS for a few L> minutes after the regular close, run NT Backup for GS, then restart GS L> automatically.

L> While Task Scheduler works OK for starting an app, It is not so hot for L> shutdown.

L> A few suggestions for handling the proposed scenario will be appreciated.

L> Liam