|
Haven't registered yet? Do it here now!
|
crmagicxxx
Joined: 05 Sep 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 4:00 am Post subject: Update Interval Randomness |
|
|
|
|
|
|
|
|
|
|
Hi.
Can the randomness be limited in some way?
For example I've set update to '5000 minutes radnom' cz I wanted it to be updated once in 3-4 days. But 'random' function choose to update it just tomorrow
So if I say 5000 min random, it should be like 4500, 4700, 5300 or something like that and NOT 1000 mins.
So +/- 10% should be more relevant than +/- 90%
Can you please change that in the script?
Thanx |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 12:30 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, it picks random within the specified mins. So it can pick tomorrow, or after 2 days, 3 days and etc..
actually i just looked at the code and i am doing like this:
interval/5=X
Y=X*2
rand(Y,interval)
so in your example with 5000 minutes, it does
5000/5=1000
and picks random between 2000 and 5000
will see if i can do something more about it to give more flexiblity on it.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
crmagicxxx
Joined: 05 Sep 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 2:32 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: |
interval/5=X
Y=X*2
rand(Y,interval)
|
Ok, but why not something like this:
rand(interval*0.8,interval*1.2)
So it would be between 4000 and 6000. There is no reason that the given interval should be the top limit.
Or, if you want to give us possibility to pick the randomness, just put the parameter inside campaign creation like 'randomness percentage (20%-80%)' and the user can choose by himself what he want to do. The best is to put the dropdown box with preselected values like 20%, 30%, ... 80%. And the random function could be:
Y=interval*(rndpercentage/100)
rand(interval-Y,interval+Y)
So if I put 5000 minutes and 20% random then the randomness will be:
Y=5000*(20/100)
rand(4000,6000)
Thanx |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 3:10 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
yeah, i see your point. I will be improving the randomness probably in next version.
thanks for your suggestions! _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
crmagicxxx
Joined: 05 Sep 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 6:20 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Thank you man
Very very nice support for excellent piece of software... |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 06, 2007 8:08 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
you are welcome _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |