MainWP Community

Reportings not being sent out per schedule

I’ve been trying to get the automated reports to send out on weekly or monthly schedule. At some point, the schedule event does not happen. I am having to do it manually and check to see what happened.

How can I check if the scheduled event will happen? Is there logs to see when it has been sent out vs not?

Hi Mary, can you please tell me do you have Uptime Robot or any other service ping your MainWP Dashboard site regularly in order to make sure that the WP Cron is triggered?

Hi Bogdan. Uptime Robot has been setup and working on the site for months.

I have the same issue. I use UR, but also have a sever cron configured. Reports have not run since June

0, 0,*, *, * wget -O /dev/null https://domain.com/wp-content/plugins/mainwp-client-reports-extension/cron/archive_reports.php > /dev/null 2>&1
*/15, *, *, *, * wget -O /dev/null https://domain.com/wp-content/plugins/mainwp-client-reports-extension/cron/send_reports.php > /dev/null 2>&1
*/15, *, *, *, * wget -O /dev/null https://domain.com/wp-content/plugins/mainwp-client-reports-extension/cron/continue_reports.php > /dev/null 2>&1

Can you both please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Status --> Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Here ya go…


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.1                                                  4.1.1                                        Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Advanced Uptime Monitor Extension  5.0.2.1                                                API License Active                           Pass        
MainWP Clean and Lock Extension    4.0.1.1                                                API License Active                           Pass        
MainWP Client Reports Extension    4.0.5.1                                                API License Active                           Pass        
MainWP Code Snippets Extension     4.0.1                                                  API License Active                           Pass        
MainWP Comments Extension          4.0.2.1                                                API License Active                           Pass        
MainWP Custom Dashboard Extension  4.0.1                                                  API License Inactive                         Warning     
MainWP Favorites Extension         4.0.3.1                                                API License Active                           Pass        
MainWP Google Analytics Extension  4.0.3.1                                                API License Active                           Pass        
MainWP iThemes Security Extension  4.0.3.1                                                API License Active                           Pass        
MainWP Maintenance Extension       4.0.2.1                                                API License Active                           Pass        
MainWP Page Speed Extension        4.0.1.1                                                API License Active                           Pass        
MainWP Pro Reports Extension       4.0.2.1                                                API License Active                           Pass        
MainWP Sucuri Extension            4.0.8.1                                                API License Active                           Pass        
MainWP UpdraftPlus Extension       4.0.2.1                                                API License Active                           Pass        
MainWP Vulnerability Checker Extension4.0.3.1                                                API License Active                           Pass        
MainWP WooCommerce Status Extension4.0.2.1                                                API License Active                           Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.5.1                                        Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.4.3                                        Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           -1                                           Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   512M                                         Pass        
PHP Post Max Size                  >=2M                                                   512M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.52.1                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.0.2u                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             No functions disabled.                                 
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, pspell, session, soap, sockets, sodium, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  5.7.29-log                                   Pass        
MySQL Mode                         NO_ENGINE_SUBSTITUTION                                 
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/2.0                                               
HTTPS                              ON                                                     
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0
Gateway Interface                  CGI/1.1                                                
Memory Usage                       6.55 MB                                                
Request Time                       1601670414                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              19                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return                                                         
Maximum number of pages to return                                                         
Maximum Number of Comments         50                                                     
Primary Backup System              MainWP UpdraftPlus Extension                           
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests                                                        
Minimum simultaneous install/update requests                                                       
Active Plugins                     
iThemes Security                   7.8.0                                                  Active                                       
MainWP Child                       4.1                                                    Active                                       
MainWP Dashboard                   4.1.1                                                  Active                                       
UpdraftPlus - Backup/Restore       2.16.29.24                                             Active                                       
WP Mail SMTP                       2.4.0                                                  Active                                       


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.1                                                  4.1.1                                        Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
MainWP Broken Links Checker Extension4.0                                                    API License Active                           Pass        
Activity Log for MainWP            1.5.2                                                                                                           
Advanced Uptime Monitor Extension  5.0.2.1                                                API License Active                           Pass        
Boilerplate Extension              4.0.2.1                                                API License Active                           Pass        
MainWP BackWPup Extension          4.0.2.1                                                API License Active                           Pass        
MainWP Branding Extension          4.0.2.1                                                API License Active                           Pass        
MainWP Clean and Lock Extension    4.0.1.1                                                API License Active                           Pass        
MainWP Client Reports Extension    4.0.5.1                                                API License Active                           Pass        
MainWP Custom Dashboard Extension  4.0.1                                                  API License Active                           Pass        
MainWP Favorites Extension         4.0.3.1                                                API License Active                           Pass        
MainWP File Uploader Extension     4.0.1                                                  API License Active                           Pass        
MainWP Google Analytics Extension  4.0.3.1                                                API License Active                           Pass        
MainWP Maintenance Extension       4.0.2.1                                                API License Active                           Pass        
MainWP Sucuri Extension            4.0.8.1                                                API License Active                           Pass        
MainWP Team Control                4.0.1.1                                                API License Active                           Pass        
MainWP WooCommerce Status Extension4.0.2.1                                                API License Active                           Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.5.1                                        Pass        
WordPress Memory Limit             >=64M                                                  512M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.3.22                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           600                                          Pass        
PHP Memory Limit                   >=128M                                                 512M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.18.1                                               7.72.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1h                               Pass        
PHP Allow URL fopen                NO                                                     
PHP Exif Support                   YES ( V7.3.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             dl,  pclose,  pcntl_exec,  popen, show_source,         
PHP Loaded Extensions              Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, session, soap, sockets, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  5.6.41-84.1                                  Pass        
MySQL Mode                         NO_ENGINE_SUBSTITUTION                                 
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/2.0                                               
HTTPS                              ON                                                     
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       51.62 MB                                               
Request Time                       1601857168                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              56                                                     
Use WP-Cron                        No                                                     
Optimize for Shared Hosting or Big NetworksYes                                                    
Automatic Daily Update             Disabled                                               
Abandoned Plugins/Themes Tolerance 366                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return  50                                                     
Primary Backup System              MainWP BackWPup Extension                              
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests 8                                                      
Minimum simultaneous install/update requests3                                                      
Active Plugins                     
Activity Log for MainWP            1.5.2                                                  Active                                       
BackWPup                           3.8.0                                                  Active                                       
Delete Expired Transients          2.0.7                                                  Active                                       
MainWP Broken Links Checker Extension4.0                                                    Active                                       
MainWP Child                       4.1                                                    Active                                       
MainWP Dashboard                   4.1.1                                                  Active                                       
Peter's Login Redirect             2.9.7                                                  Active                                       
WP 2FA - Two-factor authentication for WordPress1.4.2                                                  Active                                       

Hi Mary, thanks for getting back to me. The report looks fine, nothing that jumps out.
Can you tell me do other scheduled actions (WP Cron driven) work or not on your dashboard site? Can you try to install the WP Crontrol plugin on your MainWP Dashboard site and see if reports any problems with WP Cron?

Hi Eric, after rechecking your custom cron jobs, it seems that these two are not set as per instructions in our help document:

Can you please try to weak that and see if that helps?

Shortening the frequency from every 15 minutes to every 5 / 1 does not make any difference. The reports had been working prior wo WP 5.5

They worked under dashboard 4.0.7.2 but stopped before 4.0.7.3

Bogdan, updraft plus, Vulnerability, Sucuri notifications about not scanning, Daily Digest email… all are happening. I see four events related to reports setup as cron jobs. I manually ran the two pro ones and nothing seem to happened… i didn’t look at the code to see what kicks off the actual event depending on schedule setup. I just tried to send out a report manually and no email was received. I did a test generic email, email is going out. I previewed the report, report pulled up.

Also my maintenance doesn’t seem to be logging. Not sure how to determine if that was successful either. What table could I look at to help troubleshoot? I’m a long time developer so more technical ways to research what’s going on would help.

Tanks for the update. Since you have an open ticket for this problem in our helpdesk, we will continue there and get to the bottom of this.

Thanks for the update.

Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?