Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export UserTracker data automatically?

Status
Not open for further replies.

agape234

Programmer
Oct 10, 2001
128
US
I am running CW2K on Solaris and want to export the entire User Tracker table on a daily basis. Is there a way to automate this?
 
Anyone?
I found some instructions but they it is a simple cli command. I need some help in making this dynamic.
 
Script Below works
BUT
The problem is the requirement to have a vailid DISPLAY variable set in the environment, not a prob if you are on an X display, but most of the use of a 'cli' is the ability to schedule or run the command if you dont have an X display !!!.
There could be several ways round it
1. set the Xserverhostname to a always running X Server. Openview console, friendly Unix user. To my knowledge nothing appears on the Xserver It just needs to check it exists.
2. find some clever Solaris way to run an Xserver without a real display.
3. vnc (freeware) might help, just thought of that!
4. Get Cisco to remove this silly requirement, as nothing appears, not even an empty window.

Script - works if Xserver running on Xserverhostname

DISPLAY=Xserverhostname:0 ; export DISPLAY
/opt/CSCOpx/bin/ut -cli -host cw2kserver -port 1741 -query all -export /tmp/export.txt username password

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top