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
Infor Lawson Technology Group - Discussion
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.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions