Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jmarx75

    (@jmarx75)

    Sorry for this. But I am just giving a gentle little bump/love tap ??
    to make sure my question doesn’t get lost in the shuffle with all the 2.7 issues being addressed.
    Thanks!

    Thread Starter jmarx75

    (@jmarx75)

    Actually I do also have a follow up question related to this. Another programming thing. I realized what you can do to solve this is to pause the newsletter on Friday, post-delivery and then reactivate on Sunday any time after whatever your delivery time is. And then on Monday you get the results I was looking for. All the content posted over the weekend is in the Monday AM newsletter. So my only question is to wonder how to programmatically pause/resume campaigns. I am looking through the code and trying to figure it out, but I was wondering if there are any special filters/hooks that are set up to help us developers in this kind of situation.
    I guess I would love to schedule my own chron job that says campaign_id-> pause on friday at 7 am(delivery at 6 am). And campaign_id->resume on Sunday at 7 am(so it intentionally misses the monday delivery and stores the weekend content up for the Monday newsletter). Or better yet, I wish there was a hook/filter set up on your cron job itself. So right before the newsletter fires, I want to be able to hook in and ask the server what day it is and then stop it on Friday and perhaps resume it on Sunday. Sorry for the wordy follow-up, but I’m just trying to relay as much detail as possible.

    I’m sorry, we can’t help you with this kind of customization, nor do we provide support for changing our code. We don’t have any hooks in there. If you use the MailPoet Cron URL, you can control with your server’s Cron Job the days to trigger the newsletter process, since only that URL will trigger your newsletter queue.

    Thread Starter jmarx75

    (@jmarx75)

    Thanks for the reply. I was able to figure out a workaround for it. You may want to consider sticking some more hooks in there in the future as I would imagine I am not the only person who will have this request as you user base grows. In the financial sector, and definitely the media sector, they will want to be able to select custom days, and ‘blackout’ days

    Thanks and great plugin!

    Rest assured, the upcoming version 3 will have hooks for that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Monday – Friday option?’ is closed to new replies.