Debug send-campaigns command.


Staff member
If using the regular sending method and the delivery speed seems too slow, then you can easily run the send-campaigns command in verbose mode to find out where your bottleneck is (you'll need ssh access to your server).

In order to run this command in verbose mode, from command line you should run it as:
/usr/bin/php-cli -q /the/path/to/apps/console/console.php send-campaigns --verbose=1
Once you do this, you will see a lot of information on your screen about the sending process that will help you determine what the actual issue is.
that sends out the mail. the problem is that the cron do not fire

nano /etc/crontab

# Campaigns sender, runs each minute.
* * * * * /usr/bin/php5 -q /home/forge/ send-campaigns >/dev/null 2>&1

sudo service cron start
start: Job is already running: cron

cron is running, path is correct, yet it does not send..

please advise
ok, mailwizz works. so this is just a cron issue, will handle it from here.
is there anyway u can use web cron ?
these are my cron jobs in misc - cron list..

Campaigns sender, runs each minute. * * * * * /usr/bin/php5 -q /home/forge/ send-campaigns >/dev/null 2>&1
Transactional email sender, runs once at 2 minutes. */2 * * * * /usr/bin/php5 -q /home/forge/ send-transactional-emails >/dev/null 2>&1
Bounce handler, runs once at 10 minutes. */10 * * * * /usr/bin/php5 -q /home/forge/ bounce-handler >/dev/null 2>&1
Feedback loop handler, runs once at 20 minutes. */20 * * * * /usr/bin/php5 -q /home/forge/ feedback-loop-handler >/dev/null 2>&1
Delivery/Bounce processor, runs once at 3 minutes. */3 * * * * /usr/bin/php5 -q /home/forge/ process-delivery-and-bounce-log >/dev/null 2>&1
Daily cleaner, runs once a day. 0 0 * * * /usr/bin/php5 -q /home/forge/ daily >/dev/null 2>&1

seems to be fine.. no idea why it is broken.