Homebridge-config-ui-x: Scheduled reboot

Created on 11 Jun 2019  路  4Comments  路  Source: oznu/homebridge-config-ui-x

Sometimes, when internet is failed and get back - bridge stop responding. Only system reboot can solve that. Can you add settings for scheduled reboot? where we can choose time or rebooting daily, weekly or monthly.

enhancement stale

Most helpful comment

@oznu I know this has been closed and marked stale, but I am thinking of users that are not familiar with using Terminal, and now that many are using the Official Homebridge Raspberry Pi Image it makes sense to revisit it as an option for use right out of the box.

For anyone who comes across this issue and is looking to do this in the meantime. Simply do the following in Terminal:

sudo crontab -e
Choose: 1 for nano
Insert a line like: 0 3 * * * /sbin/shutdown -r
Where: min | hour | Day_of_Month | Month | Day_of_Week | command

This runs /sbin/shutdown -r nightly at _3:00 AM_. Asterisk out Day_of_Month, Month and Day_of_Week unless you only want to use those options. See this AskUbuntu article for further details.

All 4 comments

Would crontab be a better option for this sort of thing?

maybe, but will be great if you can do that.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@oznu I know this has been closed and marked stale, but I am thinking of users that are not familiar with using Terminal, and now that many are using the Official Homebridge Raspberry Pi Image it makes sense to revisit it as an option for use right out of the box.

For anyone who comes across this issue and is looking to do this in the meantime. Simply do the following in Terminal:

sudo crontab -e
Choose: 1 for nano
Insert a line like: 0 3 * * * /sbin/shutdown -r
Where: min | hour | Day_of_Month | Month | Day_of_Week | command

This runs /sbin/shutdown -r nightly at _3:00 AM_. Asterisk out Day_of_Month, Month and Day_of_Week unless you only want to use those options. See this AskUbuntu article for further details.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DJay-X picture DJay-X  路  6Comments

razer4908 picture razer4908  路  7Comments

jamieshaw picture jamieshaw  路  5Comments

mrtekkid picture mrtekkid  路  3Comments

mbierman picture mbierman  路  4Comments