Last active
June 14, 2018 14:41
-
-
Save agenciafera/a0b145e2d80c1b3c5354f377b74cb358 to your computer and use it in GitHub Desktop.
crontab Mautic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL=/bin/sh | |
MAUTIC=/caminho/ate/a/instalacao/do/mautic | |
1,5,9,13,18,22,26,31,35,39,43,48,52,56 * * * * www-data php $MAUTIC/console mautic:segments:update --force --batch-limit=300 | |
2,6,10,14,19,23,27,32,36,40,44,49,53,57 * * * * www-data php $MAUTIC/console mautic:campaigns:rebuild --force --batch-limit=300 | |
3,7,11,16,20,24,28,33,37,41,46,50,54,58 * * * * www-data php $MAUTIC/console mautic:campaigns:trigger --force --batch-limit=100 | |
4,8,12,17,21,25,29,34,38,42,47,51,55,59 * * * * www-data php $MAUTIC/console mautic:emails:send | |
0 0 20 * * www-data php $MAUTIC/console mautic:iplookup:download |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dentro da pasta
/etc/crond.d
crie um arquivo. Ex: mautic-clientedentro do arquivo insira os valores do gist.
Obs:
www-data
é o nome do meu usuário dentro do Linux.