-
I'm trying to get my machine to wake up at a specific time every day, in order to coincide with a server which will attempt to perform a backup of the machine at that time. First: Is there a way to do this directly? It's similar to "periodic", but different: i.e., "every day at 3am". As I understand it, the command option for wakeup.Command should return the usual UNIX "seconds since epoch" format. So I'd like to simply do something like:
But of course this will fail if the machine sleeps at, say, 2am. It won't wake in 1 hour, it will wake in 25 hours. I suspect I'm asking for a common use case, so likely there's an easy way to do it. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is comparable to the use case described in this FAQ entry: https://autosuspend.readthedocs.io/en/v4.2.0/faq.html#how-do-i-keep-a-system-active-at-daytime Create a local ical file with the times you want the system to ve active and configure the ical checks to use that file. |
Beta Was this translation helpful? Give feedback.
This is comparable to the use case described in this FAQ entry: https://autosuspend.readthedocs.io/en/v4.2.0/faq.html#how-do-i-keep-a-system-active-at-daytime
Create a local ical file with the times you want the system to ve active and configure the ical checks to use that file.