On Thu, Dec 24, 2020 at 11:51:26AM +0100, Gabriel Hondet wrote: > Hi, > > How can I program my computer to automatically wake from suspend to ram > or suspend to disk at a certain time? > > My goal is to suspend a server every day from, say, 11 pm to 7am.
For suspending at night, use see the cron man page. For waking up in the morning, of course, the OS isn't running so there is nothing it can do. Some but not all PC BIOSes have a scheduling feature. Otherwise a $10 mechanical timer to cut the power (well after the suspend is finished!) and turn it back on in the morning.