Hi guys
According to this https://docs.genesys.com/Documentation/CR/8.5.2/Solution/RecoverRP the time show as parameter is in UTC format (1437057696000) however, isn’t UTC YYMMDDHHMMSS format?
Any one has a usefull sample of executing this script?
Thanks
Speech miner use Unix format for date time https://www.epochconverter.com so you have to convert your date to Unix format and use the scripts.
Enviado desde mi VTR-L29 mediante Tapatalk
Tried that too, yet doesn’t work…script complains about invalid parameter data :S
skoom
February 3, 2019, 4:24am
4
What’s the command your running (incl the params you’re passing) and what’s the output you get (exactly as it reports)
Obviously “x” out any sensitive values
It doesnt seem to be either UTC nor Unix time, but rather milliseconds since 01/01/1970 (unix time is seconds since 01/01/1970)
Kubig
February 4, 2019, 8:22am
6
It’s UNIX time in milliseconds
[root@callcenter-gir 0ff10895-93bb-4f75-86fa-XXXXXXXX]# python repost_to_sm_from_htcc.py -startTime 1519862400 -endTime 1549139756 -ccid 0ff10895-93bb-4f75-86fa-XXXXXXXXXXXX-region * -htccUri http://XXX.XXX.XXX.XXX:8080
repost_to_sm_from_htcc.py: error: unrecognized arguments: recoverFailedFolder_20190202_18_41_51 recover_failedfolder.py recoveryConfig.ini repostFromHTCCToSM_20190202_18_36_56 repostFromHTCCToSM_20190202_18_37_11 repostFromHTCCToSM_20190202_18_37_28 repostFromHTCCToSM_20190202_18_37_37 repostFromHTCCToSM_20190202_18_38_31 repostFromHTCCToSM_20190202_18_51_48 rePost_from_MCP_to_RPandStorage.py repost_to_sm_from_htcc.py
Seems like it has something to do with the files located at the same script folder…like trying to execute them
skoom
February 4, 2019, 1:34pm
8
Remove the star character from your command (*)
According to https://docs.genesys.com/Documentation/CR/8.5.2/Solution/RecoverRP is a valid option value…
If I run it without region then I get
repost_to_sm_from_htcc.py: error: argument -region is required
Gave up, installed LVR Recovery script, and did in that way. Easier
skoom
February 5, 2019, 3:54am
11
Your comment didn’t have region as an option I see now you may have removed a space when replacing with X
If you want to pass a star character you need to escape it.. * or ‘*’
Star automatically gets changed to every file in the current directory
Ie “echo *” will echo all your files in that directory
Yes, there was an space, I removed it by mistake when doing replace.
According to documentation it should be in that way. Tried as you mention, still same problem.
Kubig
February 6, 2019, 10:05am
13
The timestamp format you entered as an argument is wrong - you have to use unix time with miliseconds. In your case, you used just unix time in seconds.
Well, yeah, that seems to be, can’t test now, but as per the lenght seems to be the one…
Why the **** does Genesys can’t stay at a single format? Damn or document it correctly