do-cron-job: replace incorrect variable `$before`