nextcloud / nextcloud/nextcloudpi

Scheduled system standby and wakeup

Open
#1,145 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build enhancement
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Description

Add the possibility to configure a scheduled standby for the system (for physical devices) with the auto wakeup.
Benefits:

  • reduce noise
  • reduce energy consumption
  • increases disk and other hardware components life time

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the rtcwake utility and the provided crontab example to understand the requested standby and wakeup behavior for physical devices. Define how this schedule would be configured and integrated into NextcloudPi, with completion shown by a reproducible scheduled shutdown and automatic wakeup.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.