vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Cron based e-mail sending (https://vborg.vbsupport.ru/showthread.php?t=201318)

yoyoman 01-19-2010 12:50 AM

Hi, Paul!
Installed and marked.

Next question. I installed the mod on vB 3.8.3 and sent 24 test emails with the batch value set to 10. Waited an hour, but nothing happened.
There are approximately 18 users viewing my forum at the moment. If I send more e-mails, they queue up. In the scheduled tasks it says that the next start is at 3:50, although I sent the e-mails at 4:24. Strange, huh?
If I run the mod manually - it works.

What could be the problem? Need a little tip here.

Kirill

yoyoman 01-19-2010 01:06 AM

In the scheduled tasks I clicked edit, didn't change anything, clicked save and the next start time changed to 06:00. This was at 05:52. But now it's already 06:05 and nothing has happened - neither the queue of emails decreased, nor the next start time changed - it's still at 06:00.

Paul M 01-19-2010 11:23 AM

Sounds like your cron system is not functioning correctly, either its broke, or you dont have enough real visitors to keep it going. When you say 18 users, are they spiders ? - as they will not trigger the cron system.

Griffoneur 01-19-2010 11:48 AM

Skipping over some users?
I have a dummy user account (ID: 260)

I have often noticed that when I send out e-mails (2500 members), my "Dummy Account" does not receive them. It is NOT in the junk e-mail filter. I have even tried using a different e-mail address.

My Dummy User account is set up as a regular forum member. My admin account (ID: 1) gets the e-mails every time. My dummy account will actually get the mass e-mail maybe 1 time in 8 e-mails. What is happening to the other 7?

I am concerned that maybe other "real members" are not getting the e-mails as well. There is no way for me to know who didn't receive it.

Has anyone else ever noticed or reported this?

Paul M 01-19-2010 07:08 PM

This neither knows or cares who e-mails are addressed to, it cannot skip users.

yoyoman 01-19-2010 07:35 PM

Quote:

Originally Posted by Paul M (Post 1960101)
Sounds like your cron system is not functioning correctly, either its broke, or you dont have enough real visitors to keep it going. When you say 18 users, are they spiders ? - as they will not trigger the cron system.

Hi. Guess you are right. I got it working yesterday. And you know how?!!
This is just ridiculous!
Quote about CRON jobs from here: http://www.vbulletin.com/forum/showt...etin-cron-jobs
Quote:

The tasks take the form of a 1 x 1 transparent gif image loading on the page. So the page should still load, but it will show as continuing to load until the image / task finishes.
So the Cron jobs have something to do with the 1x1 Spacer.gif, which is loaded to your forum via the header template. And the funny thing is that I replaced this gif with a Christmas hat for the holidays. When I removed the Christmas hat your hack started working.
Very weird. Any comments on this issue?

BTW: I Suggest you add info about the spacer.gif into your manual, so people, who use custom styles check that it's in place. It's kinda impossible to think of it yourself if don't know beforehand.

Paul M 01-19-2010 07:38 PM

I do not work for IB/Jelsoft/vBulletin, I can neither comment on the cron system or have any input to the vbulletin manual.

yoyoman 01-19-2010 07:41 PM

Quote:

Originally Posted by Griffoneur (Post 1960116)
Skipping over some users?
I have a dummy user account (ID: 260)

I have often noticed that when I send out e-mails (2500 members), my "Dummy Account" does not receive them. It is NOT in the junk e-mail filter. I have even tried using a different e-mail address.

...

Has anyone else ever noticed or reported this?

Quote:

Originally Posted by Paul M (Post 1960494)
This neither knows or cares who e-mails are addressed to, it cannot skip users.

Actually, I can't agree here, Paul.
I understand, that theoretically, your mod doesn't care what type of user it is mailing, but...
I have three dummy accounts. Before your mod I tested all of them by sending single e-mails. All ok. But I mailed an informer yesterday to all the users and only one of my dummy accounts recieved it (and my admin account). The other two - didn't.
I have a 300/hour qouta, so your parameter was set to 40 - that's 240/hour. So this is ok.
Plus, I checked the server mailbox - no info on undelivered mail to the dummies.

So, what could be the problem here? Can you check, plz.

Paul M 01-19-2010 08:03 PM

Quote:

Originally Posted by yoyoman (Post 1960524)
Actually, I can't agree here, Paul.
I understand, that theoretically, your mod doesn't care what type of user it is mailing, but...

Well you can disagree if you want, but it wont change the facts. :) This has no bearing on who mail is sent to. Perhaps you are not clear on how this works - what it does is run the vBulletin mail processing code every 10 minutes instead of every page load. That code is standard (untouched) vbulletin code.

Quote:

Originally Posted by yoyoman (Post 1960524)
So, what could be the problem here? Can you check, plz.

There is nothing I can check, as I said, this mod does not do the mail processing, vbulletin does that, all this does is change how often it runs.

newmomsforum 01-21-2010 07:28 AM

Great Mod , works well. Thanks Paul :)


All times are GMT. The time now is 10:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01539 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete