The Simple Cron Microservice
to run your Mautic background jobs
Mautic requires to trigger the background tasks. If you hate crontab configuration or you always forget what cron service you've used and how to edit it after a couple of months, welcome on board. That's the reason why I created Cronfig!
With the Mautic plugin you can configure, maintain and see the logs directly within your Mautic. No advanced technical skills required. The plugin will communicate with our Cronfig API server and the server will then trigger the tasks for you.
Because Cronfig triggers your Mautic tasks every few minutes, it knows when something goes wrong. If your Mautic will not be available for whatever reason, Cronfig will send you an email about it. If there will be an error while running some background task, Cronfig will scan the output and if it will look like an error message, Cronfig will let you know about it. This way you will find out that your campaign stopped working before your leads do.(Monitoring is still under development)
All communication between Cronfig.io and your Mautic is secured via HTTPS. The Mautic plugin provides a public URL address to run the Mautic background tasks, but it is protected with a unique hash. This hash is generated the first time you log into the Cronfig dashboard.
The Cronfig account registration doesn't require any username or password. It will generate an API key to log in and send it to your inbox. So the API key is as secure as your email inbox.
Creating tasks is as simple as click on a button. Everything else is pre-defined by the Mautic plugin and prepared for you to send those information to Cronfig server to start periodically executing the tasks.
The authorization process was made as simple as possible. The Cronfig account requires only your email address. The Cronfig API key will be sent to your email address and you'll be able to log in to your Cronfig account within the Mautic-Cronfig plugin. Your Mautic will remember the API key for the future logins.
If you no longer want to use Cronfig, the account and all automated tasks can be deleted for good with a link provided in the registration email.
app/console cache:clearcommand in the Mautic's root dir or simply delete the content of
After the successful plugin installation create a Cronfig Account. All you need is an email address which is pre-filled from your Mautic user account for convenience. When you click the Register button, you'll get your API key to your inbox. Copy that API key and log in with it.
When you log in, you'll see your account details and predefined tasks prepared for your Mautic instance. You can activate them with a click to the Create button.
That's pretty much it. Then you can watch when the task will run and you'll see log of last 10 jobs. Each job shows details like when, how long it was running, if the execution was successful and what was the output.
Mautic needs to be poked periodically so it could perform background tasks which does the automation tasks like executing campaign actions in the right time or tasks which would take too long to perform when clicking in the UI like import or email sending. But you already know that and that's why you are interested in Cronfig.