Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Debian Jessie (with systemd) on a couple of laptops and I would like them to wake up from their suspend-to-memory states during the night to run a cron job but I don't know how to go about it.
I know about rtcwake but it needs to be the one from which the suspended state originates which isn't what I want. My users send their laptops to sleep and I want the machines to wake up without human intervention.
I'm running Debian Jessie (with systemd) on a couple of laptops and I would like them to wake up from their suspend-to-memory states during the night to run a cron job but I don't know how to go about it.
I know about rtcwake but it needs to be the one from which the suspended state originates which isn't what I want. My users send their laptops to sleep and I want the machines to wake up without human intervention.
Any ideas? Thanks!
I would set a cron job (using absolute time) on the laptops, and run a job on a server (that does NOT suspend) to poll and wake them using WOL (Wake On Lan). I am not sure that there is not a better way, but on my network that would be fast and easy to set up.
Just out of curiosity, why do you need the laptops to waken in the night?
Just out of curiosity, why do you need the laptops to waken in the night?
To shut them down. I know it might be a weird request but since these two laptops belong to non techy-users, I KNOW it's gonna fly over their heads if I ask them to shutdown their computers at night.
Thank you for your reply. I'll check and see if these laptops support WOL. The good thing is that I have a server of mine running in the same network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.