Forums

How do I use pyramid_mailer qp to send mails

I'm wondering how I could use mail queueing in my account. Please help me by reading Mail Queue by pyramid_mailer My problem is how to setup a cron job that will be running $bin/qp steadily

The best way to keep the job running would be to use a scheduled task (on the "Schedule" tab) to try to start it every hour. Of course, you won't want multiple copies running, as that could confuse things. So at the start of your script, you need to put some guard code that will make it exit if there's another copy already running. There's code to do that here.