Hi DW,
Wow, all the changes you mention for upcoming release sound great - the auto-resume script is THE BEST - and yes, I would like to see that... as I still get times when I log in and find some of my emails did not go out... would love to see the auto-resume feature added...
That, or an option could be placed within ListMail somewhere to put dailymail into and out of 'test' mode
I like this idea too - having a 'TEST MODE' feature would be more useful than having to remember to add &test=1 to the task every time - I think this is the better option.
What do you think about my assumption of 23h55m?
Sounds fine to me.
Do you think I need options for how often the 'queue protect' table is updated and how long after a queue has stopped responding to allow a resume? Personally, I think 20 seconds and 1 minute is a perfect balance of speed and stability.
No, I don't think you need options, but then again, others might be on a slow server and it may affect them? To me 20 seconds/ 1 minute sounds just fine... you know more about server response times,etc than I do so go with the 20 secs/1 minute for now... and yes I do believe it will help you remove the duplicate sending problem...
Anyway, it seems this new version is going to have so many new features it's going to require lots of testing - have you given though to previous posts by others that you should be issuing releases with fewer time between them and letting people download the newer release more frequently - that way you don't have such a HUGE release?
Regarding the CRON style scheduling question I had (see previous detailed messages):
It sounds like you don't want to reset because you have more emails in the sequence.
Yes, that's right, I do NOT want to reset the sequence, BUT I do want to be able to send out email on the 5th week of the month, when there is an extra week - since I can use that for sending out an additional promotion.
What about running a custom script before dailymail each day (or just the last few days of the month) that simply skips the message for users on that followup, if required.
That sounds workable, though what I had in mind was that this would be BUILT in to CRON style scheduling - perhaps adding a Week of Month optional value (and perhaps a SKIP option) - that when set would look for followups meeting that requirement, if it is met the followup goes out - if it is not met the followup does NOT go out - and is skipped... if that is too confusing - which it may be for other users - then YES - your idea of a custom script sounds fine... when it runs, it would need to run on 28,29,30,31st of the month ONLY and force the FOLLOWUP to SKIP - ONLY if the followup is set (and is the TYPE OF FOLLOWUP I indicated) - do you see the problem here, since some sequences may NEVER have this type of followup setup, and some might...
the thing to keep in mind is this:
The cron code is: 28-31 * 2-3
That followup will ONLY be mailed out if there is a 5th week (that is, a day from 28th to 31st that falls on a Tuesday or Wednesday), that limits the followup to ONLY go out on those months with a 5th week (according to my definition) - a tue/wednesday only with a day of the month of 28, 29, 30 or 31.
We could use the same cron-style function, and the PHP date() function, in this custom script to verify when to skip users. We could even check future dates if necessary... How do we determine which months to run it and which months not to? This is a bit confusing.
Yes it is a bit confusing, for me too - what I want to do is fully laid out in previous posts in this thread - the followup ONLY needs to go out if there is a 5th Week of the month - for me that definition means that there is a Tuesday or Wednesday with a day of the month of 28, 29, 30, 31 as indicated above... BUT, keep in mind that I may NOT have this type of followup setup in ALL sequences, so - I don't know if it's possible, but it sounds like it may be... you'll need to think about whether it can be done for the situation indicated- ONLY on 28,29,30,31 look for a day of the week, if it is a Tuesday or a Wednesday than RUN THIS FOLLOWUP, otherwise SKIP IT... not sure how you can accomplish that? That is why I suggested adding this as an option to the CRON scheduling - by adding a WEEK OF MONTH parameter and a SKIP option...
Let me know if it's possible?