-
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduled system standby and wakeup #1145
Comments
Will this actually work on a sbc ? They don't have a bios or clock internally afaik. Nice idea though. Thank you! |
I think it will not work because it need a Real Time Clock device. On man page there is a note that could help:
Of course this functionality is limited to some hardware devices At the moment I tested it on my Odroid HC2 and it work well. |
Pull request: #1146 |
No way with the raspberry Pi (no internal clock). You can do that - as i do - with a Witty Pi Card : http://www.uugear.com/product/witty-pi-3-realtime-clock-and-power-management-for-raspberry-pi/ Plus, you'll be able to power external disk and Raspberry from a single 12V power block, if you want to. |
All you will need is to purchase an external real time clock for the Pi. There are many variations available for $5 - $10 USD that plug into the GPIO pins. Cheers! |
Description
Add the possibility to configure a scheduled standby for the system (for physical devices) with the auto wakeup.
Benefits:
Example
A preinstalled system utility is available for this purpose: rtcwake - https://linux.die.net/man/8/rtcwake
On crontab:
00 22 * * * /usr/sbin/rtcwake -m off -s 39600
This will shutdown the system (-m off) at 10:00 p.m. every day and boot again at 9 a.m. (-s 39600)
The text was updated successfully, but these errors were encountered: