Lottery floods the scheduled task log...

Status
Not open for further replies.

CheeSie

New member
After installing vbShop my scheduled task log has been flooded with entries by this product..
And I'm wondering why it's making that many logs..

This is an example..
Code:
160600  	vBShop Lottery  	22:45, 2nd Aug 2010  	Lotteries processed.
160599 	vBShop Lottery 	22:34, 2nd Aug 2010 	Lotteries processed.
160598 	vBShop Lottery 	22:23, 2nd Aug 2010 	Lotteries processed.
160597 	vBShop Lottery 	22:12, 2nd Aug 2010 	Lotteries processed.
160596 	vBShop Lottery 	22:01, 2nd Aug 2010 	Lotteries processed.
160595 	vBShop Lottery 	21:56, 2nd Aug 2010 	Lotteries processed.
160594 	vBShop Lottery 	21:45, 2nd Aug 2010 	Lotteries processed.
160593 	vBShop Lottery 	21:34, 2nd Aug 2010 	Lotteries processed.
160592 	vBShop Lottery 	21:23, 2nd Aug 2010 	Lotteries processed.
160591 	vBShop Lottery 	21:12, 2nd Aug 2010 	Lotteries processed.
160590 	vBShop Lottery 	21:01, 2nd Aug 2010 	Lotteries processed.
160589 	vBShop Lottery 	20:56, 2nd Aug 2010 	Lotteries processed.
160588 	vBShop Lottery 	20:45, 2nd Aug 2010 	Lotteries processed.
160587 	vBShop Lottery 	20:34, 2nd Aug 2010 	Lotteries processed.
160586 	vBShop Lottery 	20:23, 2nd Aug 2010 	Lotteries processed.

Whyyyyyyyyyy is there so many entries xD
 
There was a desire expressed to be told more about what happened during lottery processing :)
 
But why is it processed so many times?
Isn't a lottery meant to be run once every x days or so?

Yes, but you can have multiple lotteries running at any point in the day/week/etc... so we need to check periodically to see if any lotteries require processing. The log means little really, if the task finds no lotteries that require processing it'll do nothing. Additionally to ensure load isn't an issue the cron only tackles 1 lottery at a time, so the quick succession of the task means several lotteries grouped together can execute very close to each other.

If you wish you can edit the scheduled task entry and disable logging in the options :)
 
Status
Not open for further replies.
Back
Top