Answer the question
In order to leave comments, you need to log in
How to add BackupMODX to cron?
The fact that in the system settings you can enable scheduled backups - I know that. But then what? What script should I add to cron? Generally no idea. Tell me please!
Or use another plugin?
Answer the question
In order to leave comments, you need to log in
This component works as a widget in the admin panel.
A relatively simple way is to create a separate script (in the form of a .php page or a page with a snippet, which is preferable), and pull out the classes and functions of this component in it, and then configure it to run on Cron.
{тут параметры запуска крона} {пользователь под которым запускать} php {путь до папки assets}/components/backupmodx/cron.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question