Bulk Email Server Guide: Setting Cron Jobs

A very important step. If you miss this Mumara will not start sending and it will not do anything else it should do on its own, like processing bounces, checking your domain reputation, ...

For Mumara to work you must create a crontab. Go to your control panel and head to 'Server Settings > Crontab'. In Mumara go to 'Settings > Cron Settings' and set 'Email sending' to 1 minute. You can also tweak other settings here according to your needs, but for now, I would advise you to leave everything else as it is and click on 'Submit' at the bottom.

Still, in Mumara go to 'Tools > Cron Stats' and copy 'Cron Job Command' to your preferred text editor. Mumara knows how to do a lot of things but apparently, it's not smart enough to figure out where PHP is on your server. We need to change this command before we can add a crontab in the control panel.

The cron command you copied looks like this

/usr/bin/php /home/USERNAME/public_html/mumara/cronjob/cronjob.php

when it should be

/usr/local/bin/php /home/USERNAME/public_html/mumara/cronjob/cronjob.php > /dev/null

The ' > /dev/null' at the end is there to prevent our system from sending out an email to you every time cron runs. Also, make sure you replace USERNAME with the actual user Mumara is running on.

Now go to the control panel and set your crontab to run every minute and paste your fixed cron command as shown in the picture below.

mumara crontab setup

Click on 'Save changes' and make sure your command is now listed under 'List of active cron jobs' at the top of the page you are currently on.

Wait for two minutes and go back to Mumara and to 'Tools > Cron Stats'. You should now see that your crontab is running every minute.

mumara crontab status

This is everything that must be done for Mumara to work. If you want you can play with other options, however, I do suggest you leave everything as it is for now. There will be plenty of time for you to get familiar with Mumara as it will soon become your e-marketing application of choice.

Having problems?
Please use the comments below for your questions. This way other users can benefit from provided answers. Please read this first!

This tutorial is a part of the complete Do It Yourself Bulk Email Server Guide. If you are interested in starting with email marketing or want to improve your delivery, open, and click rates I recommend that you follow it from the beginning. Almost 15 years in this business and many, many tests show that this is the best long-run solution for every mass email sender with a double opt-in, scraped, or bought list.

Join Hundreds of Happy Email Marketers!

Start the Guide Now!

This Post Has 7 Comments

  1. ninja

    Here are most frequent problems users have in this step.

    None so far.

  2. jnyyzzz

    Hi, Cron Job Status did not change to ‘working fine’. Waited for 2 minutes. Also tried logging out and in. It is still ‘not working’.

    Cron Job Time
    1 Min(s)
    Cron Job Status
    Not Working
    Email Scheduling
    Last Run 1 mins ago at Oct, 05 2017 04:34 PM
    Adknowledge Email Sending
    Last Run 13 mins ago at Oct, 05 2017 04:22 PM
    Split Test Sending
    Last Run 13 mins ago at Oct, 05 2017 04:22 PM
    Trigger Processing
    Last Run 13 mins ago at Oct, 05 2017 04:22 PM
    Auto-Responder Sending
    Last Run 12 mins ago at Oct, 05 2017 04:23 PM
    Bounce Processing
    Last Run 41 mins ago at Oct, 05 2017 03:54 PM
    Segment Processing
    Last Run Never
    FBL Processing
    Last Run 41 mins ago at Oct, 05 2017 03:54 PM
    Reputation Monitor
    Last Run Never
    Maintenance Process
    Last Run 41 mins ago at Oct, 05 2017 03:54 PM

    I notice the command should be
    /usr/local/bin/php /home/USERNAME/public_html/ems/cronjob/cronjob.php > /dev/null
    instead of
    /usr/local/bin/php /home/USERNAME/public_html/mumara/cronjob/cronjob.php > /dev/null

    considering the previous step:
    cp Mumara(v2.XX).zip /home/example/public_html/ems/

    Have changed the ‘username’, ‘example’, ‘XX’ to respective terms. Please kindly help.

    1. ninja

      The command “/usr/local/bin/php /home/USERNAME/public_html/ems/cronjob/cronjob.php > /dev/null” would be ok if Mumara is installed in folder “ems”. You must also change this to the actual folder where mumara is.

      What happens if you try to run cronjob.php from your browser? Go to https://maindomain.tld/mumara_folder/cronjob/cronjob.php

  3. jnyyzzz

    it says:

    Start Cron JOB

    Ever green Start

    Ever green End
    Email Sending Completed
    BLACKLIST Completed
    Not Found

    The requested URL /ems/cronjob/cron_segment.php was not found on this server.

    1

    0.0019259452819824
    SEGMENT Completed
    Not Found

    The requested URL /ems/cronjob/cron_backup.php was not found on this server.

    1

    0.00051784515380859
    Not Found

    The requested URL /ems/cronjob/cron_remove_duplicates.php was not found on this server.

    1

    0.00043678283691406
    Not Found

    The requested URL /ems/cronjob/cron_validate_email.php was not found on this server.

    1

    0.00040102005004883Finish Cron JOB

    1. ninja

      Please provide login info by email.

  4. allisong

    My cronjob is not working at all. I even had to uninstall and install it again still not working

    i used a different hostname from my Main Server hostname. I don’t know if that was the problem

  5. allisong

    for some reason this cron command alone: /bin/php /home/USERNAME/public_html/ems/cronjob/cronjob.php works for me

Comments are closed.