panomity
(Panomity GmbH)
February 21, 2022, 12:42pm
1
Hello,
I tried to find documentation on the new extensions for the cron calls, but couldn’t find anything yet.
How can I trigger the cron for the lighthouse extension (similar to what is shown at How to set up cron job for MainWP ) and the domain monitor extension?
I see the following files in ./wp-content/plugins/mainwp-lighthouse-extension/cron
:
lighthouse_cron.php
lighthouse_cron_start.php
lighthouse_cron_sync.php
Do I need to call all three files? Does the order matter? How often should they be called if we’d only like to get the report once per month?
Similarly, for the new domain monitor extension I see the following files in ./wp-content/plugins/mainwp-domain-monitor-extension/cron
:
domain_monitor_cron_alert.php
domain_monitor_cron_start.php
Do both files need to be called and in which order do we call them? How often would you recommend to call them if we just want a monthly report?
Thank you in advance and kind regards
Sascha
bogdan
(Bogdan Rapaić)
February 25, 2022, 7:11pm
2
Let me get clear instructions from our dev team. As soon as I get it, I will post here.
bogdan
(Bogdan Rapaić)
March 1, 2022, 7:38pm
3
Lighthouse Extension
Start Audit
Cron: every day: (crontab schedule: 0 0 * * *)
Cron: every weekly, run at 00:00 on the Sunday: (crontab schedule: 0 0 * * 0)
Cron: Twice a Month: (crontab schedule: 0 0 1,15 * *)
Cron: every monthly: (crontab schedule: 0 0 1 * *)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron_start.php > /dev/null 2>&1
Continue Audit
Cron: every 5 minutes: (crontab schedule: */5 * * * *)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron_sync.php > /dev/null 2>&1
Send Notifications
Cron: every day: (crontab schedule: 0 0 * * *)
Cron: every weekly, run at 00:00 on the Sunday: (crontab schedule: 0 0 * * 0)
Cron: Twice a Month: (crontab schedule: 0 0 1,15 * *)
Cron: every monthly: (crontab schedule: 0 0 1 * *)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron.php > /dev/null 2>&1
Domain Monitor Extension
Start Check
Cron: every day: (crontab schedule: 0 0 * * *)
Cron: every weekly, run at 00:00 on the Sunday: (crontab schedule: 0 0 * * 0)
Cron: Twice a Month: (crontab schedule: 0 0 1,15 * *)
Cron: every monthly: (crontab schedule: 0 0 1 * *)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-domain-monitor-extension/cron/domain_monitor_cron_start.php > /dev/null 2>&1
Send Notifications
Cron: every day: (crontab schedule: 0 0 * * *)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-domain-monitor-extension/cron/domain_monitor_cron_alert.php > /dev/null 2>&1
1 Like
system
(system)
Closed
March 2, 2022, 7:38pm
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.