3 ms·
sudo crontab -e and put this : 0 5 * * 1 apt-get -y -q autoremove 1>/dev/null I have it on our servers so we avoid get filled with junk on /boot
by Zardoz84 10y ago
sudo crontab -e
and put this :
0 5 * * 1 apt-get -y -q autoremove 1>/dev/null
I have it on our servers so we avoid get filled with junk on /boot
- oarsinsync 10y agoFor maintainability, you might want to consider using /etc/crontab or /etc/cron.d or /etc/cron.daily to store this instead of the root user cron. Especially on servers.