infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
How do you auto generate daily idx and msg files
System
Originally posted by Rebecca Lovejoy
Cloverleaf idx and msg files saving in folder on a daily basis. These files should be auto generated for each day. Can't figure out how to configure for this.
Appreciate any feedback.
Rebecca Lovejoy
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Gary Atkinson
On 5.8 there an auto save option much like the process history log save option. If you are on an earlier version there is perl script in the contrib directory that works will. I think its called hcicyclesavemsg or something like that. You can set it up to work from cron.
Peter Heggie
Something like this will work:
45 00 * * * setroot /hci/cis5.8/integrator; /usr/bin/ksh -c 'eval `/hci/cis5.8/integrator/sbin/hcisetenv -root ksh /hci/cis5.8/integrator `;hcicyclesavemsgs -d -c -o 15' >/tmp/cycle.b.savmsg..log 2>&1
- our installation path is /hci/cis5.8; substitute yours if different
- the script hcicyclesavemsgs is in /hci/cis5.8/integrator/contrib which is in the PATH for userid hci.
We run this for each site, four times a day. It makes assumptions about where the archived smat files will be stored (in ..//exec/processes//Inboundsave or /Outboundsave
Keith McLeod
I f you have not used hcicyclesavemsgs before, you may need to check the path at the beginning of that file lcoated in the contrib directory. I beleive it still has somehitng like a 3.52 path at the beginning of the file.
Also your thread name limitation is 15 out of the box. If you want longer you would need to modify the format contained in hciconnstatus....
System
Originally posted by Gary Atkinson
..and I just remembered one thing about that perl script. The way the regex is written to find the thread name from Netconfig is a bit weird. If you have two thread names that have the same/similar name, like conn_1_test and conn_1_prod, then only one thread name will be picked up. I found this out the hard way along with the 15 character limit :oops:
System
Originally posted by Rebecca Lovejoy
Thank you all for your help, we are v5.7. I have the hcicyclesavemsgs file in contrib but nothing said about how to implement the script. Crontab(where do you configure for this)?
More detail would be great and thank you again.
System
Originally posted by Gary Atkinson
create a file, like crontab_entry. Then to run "crontab crontab_entry" from the unix prompt. This put what you have in the file into cron memory. I like to create a file incase someone gets fancy and messes up with crontab -e or just runs crontab with no filename :roll:
System
Originally posted by Rebecca Lovejoy
Not Unix, windows cmd line
System
Originally posted by Gary Atkinson
I don't know if it works on windows. I used it on a unix box. Try setting it up as a schedule task. You try using a batch file.