RaspberryPI recommended tweaks

Go down

RaspberryPI recommended tweaks

Post by skiv71 on Thu May 15, 2014 12:21 pm

Hi Guy's,

I'd like to add a tweak, which comes in the form of an addition to the 'crontab' file for the OS.

*/2 * * * * root ntpdate -u pool.ntp.org && if [ ! $(pidof z-way-server) ]; then shutdown -r +1; fi

This keeps the time correct on the PI and also checks it the z-way-server is running, if not, reboot the PI.


Posts : 161
Join date : 2014-04-25
Age : 46
Location : United Kingdom

View user profile http://bmslink.co.uk:8180 [guest:guest]

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum