reverse database.php commit and add logging to the cron job.