I'd like to schedule a shutdown every day at a specific time for my system. I found this post that addresses this, but I can't find rc.local I looked around and it seems like this file doesn't exist on Ubuntu 20.04 I was wondering what the best way to solve this problem is? Should I create this file or is there a file that "substitutes" it?
PS: currently the answers to my question mention cron
. However, I found the accepted answer to this post that recommends not using cron
for shutdown. I was wondering if someone could elaborate on this option too and why it is not / or is a good option