Crontab backup file

Hi all,

I accidentally deleted my crontab by running crontab -r by mistake instead of crontab -e, Could someone please provide me with a backup copy of the crontab file. I am unable to find them within github.

I have go through /var/log/syslog and added in one task back, but am sure there were 3 tasks.

* * * * * bash /usr/local/bin/quickbox/system/set_interface


Hey there @cbkstee!

The set_interface wouldn’t go directly into the crontab. Instead it is placed in an override with:

echo "*/1 * * * * root bash /usr/local/bin/quickbox/system/set_interface" > /etc/cron.d/set_interface

So you could see any other crons therein. la -l /etc/cron.d/

The root crontab itself directly wouldn’t contain anything. This of course would be different in the event you have installed Let’s Encrypt which places the following into the crontab

30 2 * * 1 "~/"/ --cron --home "~/" > /dev/null