Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid Server 2x am Tag wecken

Featured Replies

Hallo.

Ich hab einen Server, der die meiste Zeit am Tag schläft und eigentlich nur manuell geweckt wird, wenn er gebraucht wird.

Einmal am Tag wird er automatisch folgendermaßen geweckt, um Uptates usw zu machen (über die Sleep settings):

echo 0 > /sys/class/rtc/rtc0/wakealarm

time=8:00
now=$(date +%s)
other=$(date -d $time +%s)
if [ $now -ge $other  ]
then
	echo `date '+%s' --date='tomorrow 8:00:00'` > /sys/class/rtc/rtc0/wakealarm
else
    echo `date '+%s' --date='today 8:00:00'` > /sys/class/rtc/rtc0/wakealarm
fi

 

Besteht denn auch die Möglichkeit, den Server 2x am Tag so zu wecken? Beispiel 8 Uhr und 20 Uhr. Oder hat jemand andere Ideen für diesen Fall?

 

Danke für eure Hilfe.

  • Author

Super vielen Dank.

Ich werde es heute gleich mal testen.

  • 2 weeks later...
  • Author

Hallo.

Kurze Rückmeldung, hab das Script jetzt 1 Woche getestet und es funktioniert genau so wie es soll.

Danke für deine Hilfe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.