How to verify whether cron job is setup correctly

You can use the tool run-parts to check if your cron job is configured correctly:

run-parts --test /etc/cron.daily/

This prints all the daily cron jobs (at least on ubuntu) without running them.
Ofc you can use this for the other cron dirs as well.

Leave a Reply