Are you wanting to bulk email members based on a cron? If so the only thing I believe you need to do would be to figure out what you needed to populate when the cron is run (ie - subject, body, etc.)
Mark |
no, only want it to send 2 pms, but its not sending any, and the cron IS being run correctly.
|
I guess I'm confused as to why you are doing this with a cron. If you can provide some background it will give me a better idea of how it might be done.
As to the cron itself. How are you verifying that it is being run correctly? Is there some type of output being generated? Thanks Mark |
in my auction modification, a cron runs every 10 minutes which closes auctions and notifies buyer and seller of who won.
|
Um I have the below code in a cron job, and when it runs Im getting this error:
PHP Code:
Code:
// Fetch the PM message |
Quote:
|
PHP Code:
|
Quote:
|
actually if I take out the PM datamanager code temporarily...and replace with this:
Code:
$pmto_users[] = $pquery['username']; Its printing out CMUrick twice and I have no idea why. But its working kinda... jwocky: You need the code in this post I think to grab names and put em in an array, then you will get a different output in your tests. |
Quote:
Ok, i imploded the array $pmdm->errors in the same way you did above and got it to spit out the error code, turns out in my case, the user set to recieve the PM had his inbox full! argh. |
All times are GMT. The time now is 12:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|