Skip to content

Instantly share code, notes, and snippets.

@robwent
Created September 1, 2017 21:15
Show Gist options
  • Save robwent/d01acb76297f322648f2b79c7fcdb7a0 to your computer and use it in GitHub Desktop.
Save robwent/d01acb76297f322648f2b79c7fcdb7a0 to your computer and use it in GitHub Desktop.
Serverpilot cron commands for Mautic - Add as serverpilot user, not ubuntu or root
#Serverpilot cron jobs for Mautic
#Comment/uncomment as needed
#Change /marketing/ to the name of your app
#[email protected]
0,15,30,45 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:segments:update --env=prod --no-debug
5,20,35,50 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:campaigns:update --env=prod --no-debug
10,25,40,55 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:campaigns:trigger --env=prod --no-debug
02,17,32,47 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:emails:send --env=prod --no-debug
#07,22,37,52 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:email:fetch --env=prod --no-debug
08,23,38,53 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:social:monitoring --env=prod --no-debug
0 0 7 * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:iplookup:download --env=prod --no-debug
#0 0 2 * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:maintenance:cleanup --days-old=365
#09,24,39,54 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:broadcasts:send --channel=email --env=prod --no-debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment