are you running it with cscript or wscript?
looking at the script, it only outputs stuff via cscript (to stop annoying popup windows)
Well first i tried just double clicking it and nothing.
Then i tried scheduling as a task using task scheduler.
I havent tried cscript will try that now and see what errors i am getting at least.
You and your stinking API Version check
ok its working now after i added support for 5.2.3
I thought you'd be used to my "special" coding style by now ;-)
I was wondering if you can tell me how you were able to toastcache5 to work. Im on 5.4.2 and trying to set this up via job and basically have faced same issues as you did and was wondering what exactly was the fix. Appreciate any help you can provide.
5.4.2 or 5.2.4?
Where exactly do you have problems? Refreshing cache could be just a bunch of SBADMCL commands (in addition to file and service manipulations).
Sorry, I meant v 5.2.4. Well, Im trying to use toastcache5.vbs for deletion and recreation of index files. Basically deleting the names* files from the 00000001 and 00000002 directories. I would like a scheduled job to run nightly executing this vb script.
You can run following operations on database server, in this order:
- stop SafeBoot database server service
- delete names.dat files
- sbadmcl -command:getcounts -database:"your DB" -adminuser:admin -adminpwd:passwd
- start SafeBoot database server service
Put some delays between, if you have large/slow database.
I'm trying to get hold of the VBS of Toastcache, but the one in the tools from the downloads page is still the old batch file version.
Anyone point me the right direction please ?