OptiBiz1
Active Member
I thought I'd share my experiences with the Mailwizz cron jobs when using the ISPconfig3 panel with Jailkit installed.
When installing ISPconfig 3 you can choose if you want to use Jailkit ( http://olivier.sessink.nl/jailkit/ ) or not. This decision comes with something you need to be aware of, the Mailwizz cron jobs won't work without a little tweak in the cron setup. It's easy to fix, but it must be fixed otherwise your sendouts will be paused forever
. I have done this before but I had kind of forgot about it now when I moved from one dedicated server to another yesterday.
When you create the Mailwizz cron jobs they are saved by ISPconfig 3 in /etc/cron.d and they are created like this:
MAILTO=''
SHELL='/usr/sbin/jk_chrootsh'
* * * * * <user> /path/to/php5 -q /path/to/mailwizz/apps/console/console.php send-campaigns >/dev/null 2>&1
.
.
.
this must be changed to
MAILTO=''
SHELL='/bin/sh'
* * * * * <user> /path/to/php5 -q /path/to/mailwizz/apps/console/console.php send-campaigns >/dev/null 2>&1
.
.
.
This is all you need to do.
(one thing of more "cosmetic nature" is that you rename your changed cron jobs from e.g. "ispc_chrooted_web1" to "ispc_web1" since it's not chrooted anymore)
When installing ISPconfig 3 you can choose if you want to use Jailkit ( http://olivier.sessink.nl/jailkit/ ) or not. This decision comes with something you need to be aware of, the Mailwizz cron jobs won't work without a little tweak in the cron setup. It's easy to fix, but it must be fixed otherwise your sendouts will be paused forever

When you create the Mailwizz cron jobs they are saved by ISPconfig 3 in /etc/cron.d and they are created like this:
MAILTO=''
SHELL='/usr/sbin/jk_chrootsh'
* * * * * <user> /path/to/php5 -q /path/to/mailwizz/apps/console/console.php send-campaigns >/dev/null 2>&1
.
.
.
this must be changed to
MAILTO=''
SHELL='/bin/sh'
* * * * * <user> /path/to/php5 -q /path/to/mailwizz/apps/console/console.php send-campaigns >/dev/null 2>&1
.
.
.
This is all you need to do.
(one thing of more "cosmetic nature" is that you rename your changed cron jobs from e.g. "ispc_chrooted_web1" to "ispc_web1" since it's not chrooted anymore)
Last edited: