Author Topic: autoresume and cron  (Read 2430 times)

sanj

  • Posts: 54
    • View Profile
autoresume and cron
« on: June 23, 2007, 03:49:01 am »
hi,

if I set a 15 minutes cron job, my mailing STOPS every 15 mins and then restarts e.g stops at 11:15 restarts at 11:30 stops again at 11:45 etc

If I st an hourly cron for autoresume, my mailing goes for a whole hour then stops an then restart the next hour.

Any ideas how to fix this
I use hostmonster as host and their max email per hour is 500.
although I'm doing smtp throttling at 7.2 secs I have never managed to send anywhere near 500 emails an hour

thanks
sanj
Magnetic Therapy Natural Pain Relief for Arthritis, Back Pain and More... at http://www.worldofmagnets.co.uk

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
autoresume and cron
« Reply #1 on: June 23, 2007, 06:48:58 pm »
SanJ,

This is very peculiar behaviour.  To explain it would take some direct troubleshooting.  Can you start a mailing and then let me know so I can resume it while adding some debug output?

I believe I already have your server FTP and ListMail access info, which will be required.

With some luck I should be able to figure this out. :)

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

sanj

  • Posts: 54
    • View Profile
autoresume and cron
« Reply #2 on: June 25, 2007, 01:37:34 am »
hi dean,
I will do a mailing tomorrrow 9.30 GMT
thanks
sanj
Magnetic Therapy Natural Pain Relief for Arthritis, Back Pain and More... at http://www.worldofmagnets.co.uk

sanj

  • Posts: 54
    • View Profile
autoresume and cron
« Reply #3 on: June 26, 2007, 12:32:31 am »
hi dean,
I have a mailing going out now

thanks
sanj
Magnetic Therapy Natural Pain Relief for Arthritis, Back Pain and More... at http://www.worldofmagnets.co.uk

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
autoresume and cron
« Reply #4 on: June 26, 2007, 03:40:37 am »
SanJ,

While resuming a mailing I have not been able to get it to stall by loading the resume script.  With debug info enabled it appears resume.php is working fine:
Quote
batid 630db0 found not completed.. checking if it's active.. YES - don't resume

I have also found your server to keep running for a time after closing the browser in the midst of resuming.  This is normal - scripts can run for a short time or until completion when the browser is closed.  Further calls to resume.php have the same result - no affect on the mailing.  The resume script simply checks to see if the queue is completed or not and if it has not been active in the last minute will resume the mailout.  This must not be the problem.

Considering you are attempting to achieve 500 emails per hour I highly recommend lowering the "Reconnect every X emails" SMTP setting from 5000 to as low as 100 or even 50.  My reasoning is the server may not like having an SMTP connection open for an entire hour.

Please let me know if you continue to have troubles as further investigation may be warranted.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting