Running LMS 3.1 on a Solaris box.
I try to find a way of running a cron job with a complete download of all devices packages.
But, the command line ask me with questions (CCO and proxy information). Is there a way of using PSUCli.sh script with the download field inside a cron job ?
The install option are Ok, because there's no CCO/proxy questions.
Any ideas are welcomed.
todk1:/ #/opt/CSCOpx/bin/PSUCli.sh -p cmf -download -dst /opt/psu_download -all
NMSROOT = /data/CSCOpx
directory specified :/opt/psu_download
Proxy Server is configured in CiscoWorks.
If the Proxy Server requires authentication, you must enter Proxy Server Username and Password.
Do you need to enter the Proxy Server Username and Password? (Press 'y' for Yes or 'n' for No)
Please specify Cisco.com credentials to connect to Cisco.com
Enter Cisco.com Username: pvignaud
Enter Cisco.com Password:
Loaded VDS Properties..
Number of packages to be downloaded = 2
Finished downloading  packages to /opt/psu_download/cmf
No, this is not possible since this data is not actually stored in Common Services.
You could wrap the call to PSUCli.sh in an expect script so that you can answer the prompts when asked.