I have a script using ut cli commands to dump UT from LMS server to other server. however every time the script running the ut cli command, the copy of the dump csv file written on LMS server at /var/tmp directory. my question is how I can avoid that or any options to restrict to be written the copy of the csv file on /var/tmp? because I have to clean up this huge csv file manually from /var/tmp.thanks for in advance for any help.
thanks for the response, actually the file is correctly exported to destination file. the problem is the copy of that exported file saved on LMS server /var/tmp directory. and I don't want that. I use the same script on on my old LMS 2.6 didn't copy and file on LMS server but on this new LMS 3.2 do that. here is the command I use from my other server to LMS server "system('/usr/local/bin/ssh jonD@LMS-server /opt/CSCOpx/campus/bin/ut -u XXX -p XXX -cli -query all -layout corp > /tmp/ut-data
Doh, I overlooked the part about the "other server". So if I understand correctly, the "other server" is running the script that remotes (ssh) into the LMS server, and exports UT data to /tmp/ut-data of the "other server".
Now the question becomes: While you don't want UT data to be written to /var/tmp on the LMS server, is there another location on the LMS server that you don't mind letting that file sit temporarily?
Also, does the file in /var/tmp always have the same name?
thanks a lot we are on the same page now!!! I don't mind if the file sit temporarily on /var/tmp however temporary means for how long? I have a file written almost since LMS 3.2 installed which is more than 30 days and keep adding each day. regarding the question about"does the file in /var/tmp always have the same name" yes it has the same name always.so the question is for how long this temporary file stayed on /var/tmp ? is there any mecahnisim on LMS to clean up this temp file? or I need to schedule cron job on LMS server a /dev/null command to clean up /ver/tmp?
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...