Author Topic: Holiday Date checker added to CRON scheduler?  (Read 5240 times)

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Holiday Date checker added to CRON scheduler?
« on: May 29, 2006, 09:23:04 am »
Hi,

Ok, this is something that could benefit those who market to consumers, for example today is Memorial Day in the USA, a great day off for most people, and a very bad time to send out marketing emails, since they will most likely get deleted by this time tomorrow morning when everyone returns to work.

I'd like to know if you could add an option to add Holiday Dates to to the CRON schedule, if the CRON schedule calls for a mailing to be mailed, it will SKIP that date if it is a holiday (preferably one that has been entered in a small list of dates (10-20 would be enough).  Is that possible?

It sure would be useful...
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Holiday Date checker added to CRON scheduler?
« Reply #1 on: May 30, 2006, 08:19:32 am »
It would be simple enough to set up a database of "holidays" and skip processing if the current date is that date.  Scheduled emails could be included and would not be adversely affected by such a feature as they are sent based on scheduling for "today or before" - they would be sent the next day after the holiday.  One or two skip checks and a new (small) table would do it.  Maybe this could be put in on the 'manual dailymail' page... (thinking out loud).

Would this cause problems with cron-style followups?  Say you have cron-style followups set up for Tue and Thu and Tue is a holiday.  The subscriber would have to wait an entire week, until next Tue, for the next email.  Are you hoping the process could somehow 'resume', calling Tue's email on Wed and Thu's email on Fri, keeping track of an increment of sorts?  This might be difficult, impossible, and/or impractical.  Simply skipping dailymail based on the date would be much easier.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Holiday Date checker added to CRON scheduler?
« Reply #2 on: May 30, 2006, 10:24:48 am »
Hi DW,

Quote
Are you hoping the process could somehow 'resume', calling Tue's email on Wed and Thu's email on Fri, keeping track of an increment of sorts?


My CRONs that run are all something like this:
Code: [Select]
* * 1-4 - so you can see that it wouldn't matter if 1 or even two days are skipped (as at Thanksgiving), just setup this followup to go out next time Dailymail runs?

Maybe as you say, just skip the Dailymail run since we are on a Holiday, the next day, check the Holiday list again, if it's a holiday skip that day too, and so on, until the next day is not on the holiday list...

Will this be in the next version?
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

mr.trevor

  • Posts: 125
    • View Profile
Holiday Date checker added to CRON scheduler?
« Reply #3 on: May 31, 2006, 09:14:55 am »
Hi Brett, if you skip a few days (such as Christmas holidays) would it be a problem to you for a few 'backed up' emails to go out afterwards on the same day, or would it be an advantage to spread them out at one a day? (In the UK many take the week off at Christmas time.)
Just a thought.
TrevorW