Scripting MGR Actions

krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1165
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Post by krzysioD »

There is a way:
'There's no way for the IVR', use MySQL client in IVR.
But, yes it's a hard work to do it...
tempmj
Member
Posts: 20
Joined: 14 Mar 2007 08:55
Location: VA, USA
Contact:

Post by tempmj »

Ahhh, i did not know you could use MySQL client in IVR. I presume it's license driven?
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1165
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Post by krzysioD »

Just write simple COM/DLL.
or use some IVR that has a Z / SLI interface with some 4 port PC board.
It's really not 1990 that use of phrase 'SQL' multiplied costs by four.
kzaman69
Member
Posts: 13
Joined: 19 May 2009 23:38

Post by kzaman69 »

Dear friends,

I'm rather new in doing the MGR scripting. Which file is actually meant by our colleague tempmj for his statement below:

I added the following lines to the MTCL user's crontab:

0 8 * * * /DHS3bin/oneshot/mtcl/mgr -nodico -XX fwdToCell > /DHS3bin/mtcl/cronlog.txt 2>&1
0 17 * * * /DHS3bin/oneshot/mtcl/mgr -nodico -XX unfwdFromCell > /DHS3bin/mtcl/cronlog.txt 2>&1

Is that mtcl.cron in usr2/mtcl? Or some other file?

How to exactly write the line if i were to run the command at 1745? I tried in the lab but to no success.

Seek the expert advice.

Thank you in advance
User avatar
letacla
Member
Posts: 33
Joined: 28 Dec 2009 04:38
Location: Romania

solved

Post by letacla »

kzaman69 wrote:Dear friends,

I'm rather new in doing the MGR scripting. Which file is actually meant by our colleague tempmj for his statement below:

I added the following lines to the MTCL user's crontab:

0 8 * * * /DHS3bin/oneshot/mtcl/mgr -nodico -XX fwdToCell > /DHS3bin/mtcl/cronlog.txt 2>&1
0 17 * * * /DHS3bin/oneshot/mtcl/mgr -nodico -XX unfwdFromCell > /DHS3bin/mtcl/cronlog.txt 2>&1

Is that mtcl.cron in usr2/mtcl? Or some other file?

How to exactly write the line if i were to run the command at 1745? I tried in the lab but to no success.

Seek the expert advice.

Thank you in advance


hi,

that command i use:

1 14 17 9 * /usr2/oneshot/mtcl/mgr -nodico -XX fwdToGuide > /DHS3bin/mtcl/FWDlog.txt 2>&1
1 7 20 9 * /usr2/oneshot/mtcl/mgr -nodico -XX noFWD > /DHS3bin/mtcl/noFWDlog.txt 2>&1


* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)
kzaman69
Member
Posts: 13
Joined: 19 May 2009 23:38

Post by kzaman69 »

Thank you for the reply but may i know which file to modify. Is that mtcl.cron in usr2/mtcl?
User avatar
letacla
Member
Posts: 33
Joined: 28 Dec 2009 04:38
Location: Romania

Post by letacla »

yes
the command is:
crontab -e

- Vi has two modes: command and edit
- when you run it, it's in command mode:
- press A to append text or I to insert
- press ESC to leave edit mode and go back to command mode
- in command mode: press "x" to delete a character
- to delete line, press "d" key twice
- in command mode type :w and hit Enter to save
- :q to exit
- :q! to exit even if you made changes
- :wq to save and exit
kzaman69
Member
Posts: 13
Joined: 19 May 2009 23:38

Post by kzaman69 »

Thank you very much. Got it working now
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1165
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Post by krzysioD »

1) Read some unix book
2) read cron and crontab manual
User avatar
thanzeel
Member
Posts: 145
Joined: 02 Jul 2010 06:17

Re: Scripting MGR Actions

Post by thanzeel »

Can you send me a proper procedure for time based forwarding. I'm not getting the correct result.

Hoping for your earliest response
Post Reply

Return to “Linux tricks”