Score:1

How can I recreate default /etc/cron.d files?

cn flag

I deleted /etc/cron.d/ folder by accident.

How can I recreate it to a default state?

muru avatar
us flag
Does this answer your question? [How can I restore configuration files?](https://askubuntu.com/questions/66533/how-can-i-restore-configuration-files)
Score:3
zw flag

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}') 
reducing activity avatar
cn flag
Running it in bash script gives `E: Unable to locate package anacron cron e2fsprogs sysstat php-common popularity-contest`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.