Calling VBscripts issues - not permissions related
Posted: Thu Jul 02, 2015 2:29 pm
Hi Guys
I am new to this forum and have recently started working with TM1.
I have written a vbscript which copies each TM1 file in our data directory to a backup folder, zipping each file. It creates Backup Folders named Day0 through to Day6. If the folder for the current day exists then the folder is deleted and recreated, ready for new zipped files to be added.
This works fine when clicking on it as a user. I have also tested on my C drive, running this with a copy of all live files. These zip down to 1.7Gb, with around 2,000 zip files being added to the backup folder.
When calling from a TI process it seems to hang if I run it manually. When running it as a chore it executes succefully in the TM1 server log but nothing actually happens.
To test permissions etc in the same directory, I have created another script which deletes a test folder (which has a couple of test files). The script also creates a text file with a timestamp in the same folder. This work when executing manually by clicking on the script. It also runs fine when connecting up the same TI process (changed name of script called) and scheduling from the chore.
It appears permissions are not an issue, so I'm a bit confused...
Any ideas ?
I am new to this forum and have recently started working with TM1.
I have written a vbscript which copies each TM1 file in our data directory to a backup folder, zipping each file. It creates Backup Folders named Day0 through to Day6. If the folder for the current day exists then the folder is deleted and recreated, ready for new zipped files to be added.
This works fine when clicking on it as a user. I have also tested on my C drive, running this with a copy of all live files. These zip down to 1.7Gb, with around 2,000 zip files being added to the backup folder.
When calling from a TI process it seems to hang if I run it manually. When running it as a chore it executes succefully in the TM1 server log but nothing actually happens.
To test permissions etc in the same directory, I have created another script which deletes a test folder (which has a couple of test files). The script also creates a text file with a timestamp in the same folder. This work when executing manually by clicking on the script. It also runs fine when connecting up the same TI process (changed name of script called) and scheduling from the chore.
It appears permissions are not an issue, so I'm a bit confused...
Any ideas ?