I deleted /etc/cron.d/
folder by accident.
How can I recreate it to a default state?
I deleted /etc/cron.d/
folder by accident.
How can I recreate it to a default state?
You have to reinstall the packages with files in /etc/cron.d
by
sudo apt-get install --reinstall -o Dpkg::Options::="--force-confmiss" \
$(dpkg -S /etc/cron.d | sed 's/,//g' | awk -F: '{print $1}')
E: Unable to locate package anacron cron e2fsprogs sysstat php-common popularity-contest
– reducing activity
Jan 15 '22 at 12:27