How to set Up a month in Lead Recycling?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to set Up a month in Lead Recycling?

Postby toxi » Mon Feb 06, 2017 7:38 am

Hello.
How to set Up a month in Lead Recycling?


VERSION: 2.12-571a
BUILD: 161031-1415
toxi
 
Posts: 12
Joined: Mon Feb 06, 2017 7:21 am
Location: UA, Zhitomir

Re: How to set Up a month in Lead Recycling?

Postby mflorell » Mon Feb 06, 2017 7:49 am

You don't, it's not designed to work past 1 day.

Maybe if you explained in more detail what you are trying to accomplish, we could offer an alternative option.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to set Up a month in Lead Recycling?

Postby toxi » Mon Feb 06, 2017 3:28 pm

It is necessary to make the numbers with a certain status, the system will ring up at the end of the entire lead (list of numbers), as well as to be able to postpone some of the numbers to call statuses for 1 week / month / six months.
Maybe there is some option?
toxi
 
Posts: 12
Joined: Mon Feb 06, 2017 7:21 am
Location: UA, Zhitomir

Re: How to set Up a month in Lead Recycling?

Postby mflorell » Mon Feb 06, 2017 3:49 pm

That would be best to do with filters, here's one for delaying calling NI status leads for 7 days:

( ( (status='NI') and (last_local_call_time < CONCAT(DATE_ADD(CURDATE(), INTERVAL -7 DAY),' ',CURTIME()) ) ) or (status != 'NI') )
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to set Up a month in Lead Recycling?

Postby williamconley » Mon Feb 06, 2017 4:34 pm

If you want to have detailed control, you can also write a script that resets the "called since last reset" value on the leads based on your logic nightly. Then avoid resetting the lists manually and let your script to the trick. This reduces the load on the DB server that may result from a filter (not a problem if you have a small system, but if you have a larger system it can become a problem pretty quickly to have a lot of complex filters).

A nightly (or hourly?) mysql script that makes the change once per day/hour takes a lot less cpu cycles than a filter that runs every minute on every campaign all day long. ;)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to set Up a month in Lead Recycling?

Postby toxi » Tue Feb 07, 2017 5:43 am

williamconley wrote:If you want to have detailed control, you can also write a script that resets the "called since last reset" value on the leads based on your logic nightly. Then avoid resetting the lists manually and let your script to the trick. This reduces the load on the DB server that may result from a filter (not a problem if you have a small system, but if you have a larger system it can become a problem pretty quickly to have a lot of complex filters).

A nightly (or hourly?) mysql script that makes the change once per day/hour takes a lot less cpu cycles than a filter that runs every minute on every campaign all day long. ;)


It can be an example of such a script, if there is such a possibility?
toxi
 
Posts: 12
Joined: Mon Feb 06, 2017 7:21 am
Location: UA, Zhitomir

Re: How to set Up a month in Lead Recycling?

Postby toxi » Tue Feb 07, 2017 5:46 am

mflorell wrote:That would be best to do with filters, here's one for delaying calling NI status leads for 7 days:

( ( (status='NI') and (last_local_call_time < CONCAT(DATE_ADD(CURDATE(), INTERVAL -7 DAY),' ',CURTIME()) ) ) or (status != 'NI') )


This request must be run in the database each time a new entry with the desired status appears?
toxi
 
Posts: 12
Joined: Mon Feb 06, 2017 7:21 am
Location: UA, Zhitomir

Re: How to set Up a month in Lead Recycling?

Postby mflorell » Tue Feb 07, 2017 6:53 am

That is a "Filter", you create a new filter in the web admin and then enable it for your campaign. None of that requires you to manually run anything on the database.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 126 guests