rm cron orphans

cat cron.log | grep ORPHAN | awk -F'[()]' {'print $2'} | xargs -i -n1 rm /var/spool/cron/crontabs/{}

Leave a Reply

Your email address will not be published. Required fields are marked *