Hi Dave,
I am afraid I do not know what is it that you posted. Where do I find it? Below you will see the sproc code I found in the database.
The scheduler view is quite amazing: after I added the daily task it says it is to be executed virtually immediately, but it stays like that forever. For instance, if it is 10:22 it says it is going to execute at 10:22:33. If I refresh the task list a minute later, it says it will execute at 10:23:45. Ten minutes later it would say 10:33:55 or something. Same thing a day later, and never a log :-(
It seems to me it never starts (while the other one, clean up files, works fine). I have this case on 2 distinct websites.
/*
Author: DCL
Last Modified for NB_Store version: 02.02.00
*/
ALTER PROCEDURE [dbo].[NEvoweb_NB_Store_Cart_DeleteOldCarts]
@PortalID int,
@CartMins int,
@OrderMins int
AS
begin
I am afraid I do not know what is it that you posted. Where do I find it? Below you will see the sproc code I found in the database.
The scheduler view is quite amazing: after I added the daily task it says it is to be executed virtually immediately, but it stays like that forever. For instance, if it is 10:22 it says it is going to execute at 10:22:33. If I refresh the task list a minute later, it says it will execute at 10:23:45. Ten minutes later it would say 10:33:55 or something. Same thing a day later, and never a log :-(
It seems to me it never starts (while the other one, clean up files, works fine). I have this case on 2 distinct websites.
/*
Author: DCL
Last Modified for NB_Store version: 02.02.00
*/
ALTER PROCEDURE [dbo].[NEvoweb_NB_Store_Cart_DeleteOldCarts]
@PortalID int,
@CartMins int,
@OrderMins int
AS
begin
delete from dbo.[NB_Store_Cart]
where DateCreated < dateadd(minute,(@CartMins * -1),getdate())
and PortalID = @PortalID
delete from dbo.[NB_Store_Orders]
where
((OrderDate < dateadd(minute,(@OrderMins * -1),getdate()) and ElapsedDate is null)or (ElapsedDate < getdate() ))
and OrderNumber = ''
and PortalID = @PortalID
end