mgr -nodico -X <file>

This is the main discussion forum, if the subject that you want to talk about is not listed around here.
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1163
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: mgr -nodico -X <file>

Post by krzysioD »

well,
i've written some code that creates agents from txt file (dn firstname lastname pin) and it even calculates percent of girls hired today (it knows girls names :D ). Makes keys, attaches to 'temporary' PG etc...
Works like a charm, especially if you need to have correct entity and categories for agents, and you create them on daily basis and your input data came from CRM in plain TXT file.
Nice thing is when everything is OK output from script is green on your term, when it's bad (like agent exists) your term yields this with RED.
Script for deleting 1000 agents not having logged in for 99 days and first detaching from PG is a little tricky, but it takes like 40 minutes on CPU7_2 to run, and believe me it makes your blood pressure go high...
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
soccer_DUP

Re: mgr -nodico -X <file>

Post by soccer_DUP »

Is there any way to run edsbr as a cron job?

The idea is to get a list of all users updated daily. My edsbr is already configured as needed and it just needs a go to export the wanted file, but it's still not as automatic as needed....

Thanks in advance.
soccer_DUP

Re: mgr -nodico -X <file>

Post by soccer_DUP »

The idea is not just how to add the command to cron, but how to run edsbr from the command line without "entering on it", just by issuing the command with some parameters to obtain the updated list of users.
Egidio
Member
Posts: 30
Joined: 02 Feb 2007 09:14
Location: Germany

Re: mgr -nodico -X <file>

Post by Egidio »

Hi

I have some cron jobs running with edsbr:

By crontab I run a command file called edsbr.egi (must be executable):

Code: Select all

edmcs sbr -c `uname -n` <ed_in.egi
(here you can do with it what you want:)
mv -f `find /tmpd/ -name mcsed* -ctime 0` /tmpd/edsbr.txt
cat /tmpd/edsbr.txt 
this needs as input a fiel called ed_in.egi:

Code: Select all

go
q

I hope you can experiment enough with that to alter the input to edsbr (= edmcs sbr!)

Br.Egidio
Egidio
soccer_DUP

Re: mgr -nodico -X <file>

Post by soccer_DUP »

yeah, it worked great! Thanks for the tip ;)
jackey

Re: mgr -nodico -X <file>

Post by jackey »

thanks for guys info, i use it to script PIN code effectively.
eduardosaito

Re: mgr -nodico -X <file>

Post by eduardosaito »

Hi,

is it possible to use a single mgr command line to change a operator state?

in my mgr menu the path is mgr->applications->ccd->operators->action then I type the diretory number, press f1, choose the state I need (in my case, is Cancel Withdrawal) and press f1 to confirm.

thanks in advance.
Post Reply

Return to “MAIN”