douxian9706 2017-10-24 13:24
浏览 33

WordPress和Mailpoet CRON

I have a WordPress with MailPoet.

Someone know if possible to schedule CRON task for Mailpoet ?

I have to send Newsletter every day (Monday to Friday at 5pm) only if there is a new content from specific categorie.

But i dont know how Mailpoet works. I would like to create a script php but i didnt find sometjing about CRON and MailPoet on Google ...

I have the last version and premium of MailPoet.

Thansk for your help.

  • 写回答

1条回答 默认 最新

  • douliedai4838 2017-10-24 13:34
    关注

    The answer is on the Mailpoet website:

    http://docs.mailpoet.com/article/47-configure-cron-job

    2.4 Cron job commands to call MailPoet's Cron URL

    Below are a few examples of commands you can use.

    You'll only need to set up one on your server, so simply pick the one which works on your server ( curl is safer):

    curl --silent "http://www.yourwebsite.com/wp-cron.php?xxxx..." > /dev/null 2>&1

    wget --quiet "http://www.yourwebsite.com/wp-cron.php?xxxx..."

    Don't forget to replace http://www.yourwebsite.com/wp-cron.php?xxxx... with your own MailPoet's Cron URL.

    Some hosts may allow you to set up cron commands from their admin interfaces. But, the commands wget, curl and lynx may not be available, so if the cron doesn't seem to be running, get in touch with your host and they should be able to help you out.

    评论

报告相同问题?

悬赏问题

  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏