Showing posts with label Mautic. Show all posts
Showing posts with label Mautic. Show all posts

Tuesday, April 13, 2021

Mautic Cronjob Setup

 Mautic Cron Jobs are as follows:


#Segments Every 2 Minutes

*/2 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:segments:update

*/3 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:import


#Campaigns (Every 1 Minute)

* * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:campaigns:update 

* * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:campaigns:trigger

* * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:messages:send


#Process Email Queue Every 5 Minutes

*/5 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:emails:send #Fetch and Process Monitored Email Every 10 Minutes

*/10 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:email:fetch


#Process Email Queue Every 5 Minutes

*/5 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:emails:send


#Fetch and Process Monitored Email Every 10 Minutes

*/10 * * * * root /usr/bin/php /var/www/html/mautic/bin/console mautic:email:fetch


Leave a line between cron jobs



Upload file to server using Power Shell Command

 scp file_name.zip username@server_ip/server_address:/directory_path