I need to backup few files on my Mac, and it can be done inside of Emacs by calling a function. But it is a tedious task to do everyday and sometimes I forgot doing it.
I wonder if I can automate it by using the run-at-time
function and make it backup at the mid night, and wonder what if
- the computer is locked?
- the laptop lip is closed?
- the computer is inactive for a long time and in sleep mode?