Cron run – Description uses wrong quotation marks and some wrong behavior
-
Hi,
with the copy&pasted example from description it throws many errors.
Since the quotation looks not correctly I fixed them to:www-data@test $ cat wp-rvg-optimize-database.php <?php define('RUN_OPTIMIZE_DATABASE', true); require_once('wp-load.php'); ?>
Then it works fine ; output of first step is also fine with “Database optimized!” which I didn’t use but output seems a little broken for 2nd task (and newline missing at the end?):
www-data@test $ php wp-rvg-optimize-database.php Database optimized!<script>jQuery('#odb-running').hide();</script>
Shouldn’t be the optimize after the deletion and not before?
Btw. for longer runs the function works fine but deleted oEmbed
records and orphaned aren’t logged to file correctly – I see there 0 deletions each..Bests
Reiner
- The topic ‘Cron run – Description uses wrong quotation marks and some wrong behavior’ is closed to new replies.