What are the cron jobs that I have to add?

What are the cron jobs that I have to add?

Here is the current cron jobs list for versions >= 1.3.4.9.
{FULL_PATH_TO_APPS_FOLDER} is the absolute path on your server to the place where AppMail files are located, something like: /var/www/html/ or home/domain/public_html/

Code:

# Campaign sender, runs each minute:
* * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php send-campaigns > /dev/null 2>&1

# Transactional emails sender, runs once at 2 minutes: (since 1.3.4.5)
*/2 * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php send-transactional-emails > /dev/null 2>&1

# Bounce handler, runs once at 10 minutes:
*/10 * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php bounce-handler > /dev/null 2>&1

# Feedback loop handler, runs once at 20 minutes:
*/20 * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php feedback-loop-handler > /dev/null 2>&1

# Process delivery and bounce logs, runs once at 3 minutes:
*/3 * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php process-delivery-and-bounce-log > /dev/null 2>&1

# Hourly command:
0 * * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php hourly > /dev/null 2>&1

# Cleanup command to run daily:
0 0 * * * php -q {FULL_PATH_TO_APPS_FOLDER}/apps/console/console.php daily > /dev/null 2>&1

Here’s a screenshot to see how they should look like under CPanel:

Screenshot 2016-08-08 14.22.36

Please also see what CRON JOBS are.

    • Related Articles

    • Cron jobs setup

      Maybe the most important thing that you have to do after you install the application is to make sure all the cron jobs are set properly. This is very important since without the cron jobs, the application will not be able to send any email at all, or ...
    • What Cron Jobs are, why do I need to add them and how?

      What is a cron job? A detailed explanation about crons is given in the wikipedia at https://en.wikipedia.org/wiki/Cron Long story short, a cron is a task that runs at regular intervals on your linux server. Being a task, it means that at the time it ...
    • Add a new delivery server type

      If you look in apps/common/models/ you will see lots of files called DeliveryServer{TYPE}.php where type is the provider they implement, for example DeliveryServerAmazonSesWebApi.php In order to create your own delivery server implementation, you ...
    • How to add delivery servers for an individual customer?

      You need to go to Backend > Settings > Customers and select the Servers tab. From this screen, select the number of delivery servers the customer is allowed to add, but also what type of delivery servers he is allowed to add. Once you do this, save ...
    • How to add custom email footers for all emails?

      Sometimes you might need to make sure all the emails that go out will contain a certain email footer, for example where you’ll add the default unsubscribe information, or maybe your copyright. In order to do so, you have to navigate to Backend > ...