AnsweredAssumed Answered

After upgrade from SugarCRM CE 5.5.1 to 6.5.16, cron job no longer sends out campaign mails

Question asked by Victor Danilchenko on Nov 14, 2014
Latest reply on Nov 17, 2014 by Victor Danilchenko
We've had Sugar 5.5.1 running without problems (on Ubuntu Precise), and processing campaign mails correctly. Then, to interface with an external partner, we've had to upgrade to Sugar 6.5. I performed the upgrade, and it went fine; everything works, with one exception. The cron job is no longer sending out emails!

I can create a campaign and queue it up; but the mails remain queued forever. I can go to mail queue and click on the 'Send queued campaign emails', and it sends out fine. It just doesn't send out from the cron job; doesn't even submit them, as I made sure by watching the mail log file.

I tried running the cron job by hand, and it simply and quietly does nothing -- no complaints, no errors; cron.php just runs within a fraction of a second, and then back to prompt. '-v' dumps no useful information either.

I thought it might be a busted schedule, but no, all our schedules remained the same. I tried re-creating the scheduled job to send out nightly campaign mails, but that had no effect either -- even when I run cron.php by hand, nothing shows up in the mail log, # of rows in the 'emailman' table doesn't change, and no job submissions to the mail server occurs.

Here are our current schedules:
  • Process queued campaign mailings Every 10 minutes ; From 8 to 20; From Sunday to Thursday 2014-11-10 00:00 - perpetual Active
  • Clean Jobs Queue On the hour; 05:00 2011-12-31 19:00 - 2030-12-31 18:59 Active
  • Run Email Reminder Notifications As often as possible. 2011-12-31 19:00 - 2030-12-31 18:59 Active
  • Hubspot Integration Every 10 minutes 2005-01-01 01:00 - perpetual Inactive
  • Check Inbound Mailboxes As often as possible. 2005-01-01 00:00 - perpetual Inactive
  • Run Nightly Process Bounced Campaign Emails On the hour; From 02:00 to 06:00 2005-01-01 00:00 - perpetual Active
  • Prune Database On the hour; 04:00; Friday 2005-01-01 00:00 - perpetual Active
So the mail sending works fine when I manually click 'Send queued messages' in the mail queue admin -- just not from cron job.

Any idea what might be going on, guys?

Outcomes