infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
IOSCacheRefresh from script
mbozenik
Has any been able to submit an IOSCacheRefresh from a unix script?
I'm playing around with curl but can't seem to get it to work.
LSF 10.0.7; WAS 8.5.5; AIX 7.1
0811130630195911.xls
Find more posts tagged with
Comments
serafino
wget -nv '
server.domain.com/.../SSOServlet
-O /dev/null -o /dev/null
If you want to refresh only security and RM cache, change it to this:
wget -nv '.........?action=refresh&refresh=SECURITY;RM_CACHE' -O /dev/null -o /dev/null
Obviously, the _ssoUser must be an Admin with rights to refresh the cache, and the _ssoPass value must be a valid password. You might create a special user just for this purpose who has limited access to the rest of the system.
[Updated on 10/16/2015 4:06 PM]
EDIT: Never tried curl, but it should work just the same as long as you use the same options. For wget, -o is an output log and -O is an output file. Pouring both down the drain guarantees I don't have files all around that need culling.
mbozenik
The syntax I was using for the URL wasn't right, but with the example you provided I was able to get it to run w/o error using both curl and wget; however, it's still not refreshing the cache. Must be missing something somewhere. With -o and -O I specified file names and reviewed the results and they look good. Even ran with -d to debug it and it seems to look good as well, but it's hard to tell.
wget -dv "
lsfhost.xxxxx.com/.../SSOServlet
ervlet/IOSCacheRefresh?action=refresh" -O errorO.log -o erroro.log
erroro.log was empty because it ran cleanly as far as wget was concerned.
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices