I like to make my log filenames have date stamps and so in my shell scripts I typically will create a log file name at the start of the script:
# Create name for log file
timenow=`date +%Y%m%d-%H%M%S`
logfilename="utils-${timenow}.log"
and the time will now be included in the log filename.
You can remove the %S to take off the seconds if you want.
Thanks for viewing my blog on Identity Management and Engineering (mostly IDM). Please follow and check out the advertisers.
Search This Blog
Saturday, September 5, 2015
Thursday, September 3, 2015
New environment changes to use UploadJars
When you set up a new environment, your UploadJars.sh file won't work until you set up your environment properly. Here is what to do:
Make sure you already have set:
MW_HOME
JAVA_HOME
OIM_ORACLE_HOME
Then set the following environment variables:
APPSERVER_TYPE=wls
APP_SERVER=weblogic
Make sure you already have set:
MW_HOME
JAVA_HOME
OIM_ORACLE_HOME
Then set the following environment variables:
APPSERVER_TYPE=wls
APP_SERVER=weblogic
Subscribe to:
Posts (Atom)