Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- MAUTICCONSOLE="/var/www/mautic/bin/console"
- if [ -z "$(ls -A /var/www/mautic/var/spool)" ]; then
- php7.4 $MAUTICCONSOLE mautic:broadcasts:send --limit=50
- php7.4 $MAUTICCONSOLE mautic:campaigns:rebuild --batch-limit=300
- php7.4 $MAUTICCONSOLE mautic:segment:update --batch-limit=900
- php7.4 $MAUTICCONSOLE mautic:campaigns:trigger
- php7.4 $MAUTICCONSOLE mautic:import --limit=500
- php7.4 $MAUTICCONSOLE mautic:webhooks:process
- php7.4 $MAUTICCONSOLE mautic:reports:scheduler
- php7.4 $MAUTICCONSOLE mautic:maintenance:cleanup --days-old=365
- else
- php7.4 $MAUTICCONSOLE mautic:broadcasts:send --limit=200
- php7.4 $MAUTICCONSOLE mautic:emails:send --message-limit=200
- php7.4 $MAUTICCONSOLE mautic:email:fetch
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement