I've got a cron job for the PHP file scan set up and working successfully. My hosting company (DreamHost) emails me the output from the cron job each time it is run. I'd like to set up a Gmail filter so that the emails for problem-free runs bypass my inbox.
A successful run gives me output like the output below.
Is it safe for me to assume that a run that finds any problems will not have the string "File scanning job finished successfully" in it's output?
Or, alternatively, is there a string that I can expect if/when there are problems?
Thanks,
Douglas
Unsetting time limit restrictions.
Site paths determined by this script:
JPATH_BASE : /home/douglasmccarroll/languagecollaborative.com
JPATH_ADMINISTRATOR : /home/douglasmccarroll/languagecollaborative.com/administrator
Starting file scanning
Last Tick : 2017-06-27 09:00:07 GMT-0700 (PDT)
Memory used : 4.56 Mb
Warnings : no warnings issued (good)
Last Tick : 2017-06-27 09:00:07 GMT-0700 (PDT)
Memory used : 5.17 Mb
Warnings : no warnings issued (good)
Last Tick : 2017-06-27 09:00:08 GMT-0700 (PDT)
Memory used : 5.3 Mb
Warnings : no warnings issued (good)
>> ~1000 of these blocks snipped
Last Tick : 2017-06-27 09:11:05 GMT-0700 (PDT)
Memory used : 5.48 Mb
Warnings : no warnings issued (good)
Last Tick : 2017-06-27 09:11:05 GMT-0700 (PDT)
Memory used : 5.48 Mb
Warnings : no warnings issued (good)
Last Tick : 2017-06-27 09:11:05 GMT-0700 (PDT)
Memory used : 5.48 Mb
Warnings : no warnings issued (good)
File scanning job finished successfully after approximately 11 minutes
Peak memory usage: 6.27 Mb