Skip to content

Instantly share code, notes, and snippets.

@alexavalossv
Last active November 4, 2020 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexavalossv/67d07adfa629c72be718f5268306e8db to your computer and use it in GitHub Desktop.
Save alexavalossv/67d07adfa629c72be718f5268306e8db to your computer and use it in GitHub Desktop.
Cron jobs Mautic 3.1.1 para RunCloud
____ _ _ __ __ _ _
/ ___|_ __ ___ _ __ (_) ___ | |__ ___ | \/ | __ _ _ _| |_(_) ___
| | | '__/ _ \| '_ \ | |/ _ \| '_ \/ __| | |\/| |/ _` | | | | __| |/ __|
| |___| | | (_) | | | || | (_) | |_) \__ \ | | | | (_| | |_| | |_| | (__
\____|_| \___/|_| |_|/ |\___/|_.__/|___/ |_| |_|\__,_|\__,_|\__|_|\___|
|__/
_____
|___ /
|_ \
___) |
|____/ para RunCloud
═════════════╠ Obligatorios ╣
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 1 - Para mantener los segmentos actualizados
--->Job Label
mautic:segments:update
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:segments:update
--->Custom Settings
------>Minute
1,5,9,13,18,22,26,31,35,39,43,48,52,56
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 2 - Para mantener las campañas actualizadas con los contactos correspondientes
--->Job Label
mautic:campaigns:update
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:campaigns:update
--->Custom Settings
------>Minute
0,5,10,15,20,25,30,35,40,45,50,55
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 3 - Para ejecutar eventos de campañas
--->Job Label
mautic:campaigns:trigger
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:campaigns:trigger
--->Custom Settings
------>Minute
3,7,11,16,20,24,28,33,37,41,46,50,54,58
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
═════════════╠ Cronjobs no obligatorios pero recomendados ╣
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 4 - Para reconstruir campañas basadas en segmentos de contactos
--->Job Label
mautic:campaigns:rebuild
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:campaigns:rebuild
--->Custom Settings
------>Minute
2,6,10,14,19,23,27,32,36,40,44,49,53,57
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 5 - Para obtener y procesar mensajes rebotados.
--->Job Label
mautic:email:fetch
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:email:fetch
--->Custom Settings
------>Minute
0,15,30,45
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 6 - Para enviar emails mediante la cola de envio
--->Job Label
mautic:emails:send
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:emails:send
--->Custom Settings
------>Minute
4,8,12,17,21,25,29,34,38,42,47,51,55,59
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 7 - Para descargar/actualizar la base de datos de búsqueda de IP lookup | Cronjobs de mantenimiento mensual
--->Job Label
mautic:iplookup:download
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:iplookup:download
--->Custom Settings
------>Minute
0
------>Hour
0
------>Day of Month
25
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 8 - Para limpiar los datos antiguos.
--->Job Label
mautic:maintenance:cleanup:365
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:maintenance:cleanup –days-old=365 –dry-run
--->Custom Settings
------>Minute
0
------>Hour
0
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 9 - Para ejecutar los webhooks
--->Job Label
mautic:webhooks:process
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:webhooks:process
--->Custom Settings
------>Minute
*/15
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 10 - Para importar contactos en segundo plano
--->Job Label
mautic:import
--->User (The user to run this job)
umautic
--->Vendor Binary
/RunCloud/Packages/php73rc/bin/php
--->Command
/home/umautic/webapps/mymautic/bin/console mautic:import
--->Custom Settings
------>Minute
*/15
------>Hour
*
------>Day of Month
*
------>Month
*
------>Day of Week
*
░░░░░░░░░░░░
Gracias a < Joan Serra > por añadir la finalidad de cada CronJob
Cualquier duda o pregunta ya sabes: < https://avalos.sv >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment