Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: purgecartmins

$
0
0
Hi,

there is this setting called purgecartmins, and the help text refers to a scheduled task. When I read the wiki about this, the following is documented:

Purge old carts and orders
This schedule job will delete carts from the database that are older than 7 days and removed uncompleted orders that are older that 24 hours.

NEvoWeb.Modules.NB_Store.CleanUpCarts,NEvoweb.DNN.Modules.NB_Store
Time Lapse: 1 day
Retry Frequency: 2 days

SPROC:NEvowebNBStoreCartDeleteOldCarts
delete from dbo.NB_Store_Cart
where DateCreated < dateadd(day,-7,getdate())
delete from dbo.NB_Store_Orders
where OrderDate < dateadd(day,-1,getdate())
and OrderNumber = ''

OK. The default value for purgecartmins is 1 week (as it is here in the documentation), but what happens if I change this? Do I have to change the scheduled task as well then?

Best wishes
Michael

Viewing all articles
Browse latest Browse all 4081

Trending Articles