Schedule Entries

 
Post new topic   Reply to topic    newsmanpro.com Forum Index : Usage and Configuration
View previous topic :: View next topic  
Author Message
boston58
Experienced
Experienced


Joined: 13 Jul 2006
Posts: 61

PostPosted: Fri Apr 20, 2012 7:37 pm    Post subject: Schedule Entries Reply with quote

If I schedule this to run at the same time 4:00 am

Delet Old Messages
Purge
Get New Messages

in which order would they run at, or does it matter?

Thanks
_________________
Boston
Back to top
View user's profile Send private message MSN Messenger
administrator
Developer
Developer


Joined: 24 Jul 2004
Posts: 4762
Location: King William, VA

PostPosted: Fri Apr 20, 2012 7:52 pm    Post subject: Reply with quote

If they are all scheduled for the same time, it'll be in whatever order SQL returns them. I would not do what you are suggesting. Instead, I would suggest this:

12:00AM - Delete Old
1:00AM - Purge
4:00AM - Get new

That way you'll always be sure that:

a) Old messages get immediately purged
b) NMP isn't trying to add new messages to the DB while purging is going on.

Of course, you should double check how long each step is taking, particularly if you plan on keeping a lot of messages, just to make sure they don't overlap.

Regards
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    newsmanpro.com Forum Index : Usage and Configuration All times are GMT
Page 1 of 1

 
Jump to:  
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


Copyright 2003-2006, Daniel Cumpian
NMP Default By ::Dementeddogz.com::