Automatic reboot Domoticz
Moderators: leecollings, remb0
-
- Posts: 14
- Joined: Friday 31 May 2019 11:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11352
- Contact:
Automatic reboot Domoticz
I'm running Domoticz on a Raspberry 3 plus. That works fine, but I found out that after about a week the Domoticz application starts to run slow. I then do a reboot. Apparently the log is full or something like that. Now I actually want to automate this, but it probably takes me too much research to get it done myself. Does someone have a script or can someone make a script that automatically reboots the Raspberry twice a week around 3.00 a.m. at night?
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Automatic reboot Domoticz
sudo crontab -e
0 3 * * 1,4 reboot
this will execute the command 'reboot' at 3:00 on Sunday and Wednesday.
Keep in mind that this kind of stuff is only a workaround. You should investigate why it becomes slow.
0 3 * * 1,4 reboot
this will execute the command 'reboot' at 3:00 on Sunday and Wednesday.
Keep in mind that this kind of stuff is only a workaround. You should investigate why it becomes slow.
Who is online
Users browsing this forum: No registered users and 0 guests