Maybe not all of you know that Raspberry Pi has an integrated watchdog timer. This can be really useful, especially when you need to leave your RPi unattended for some time.
For those who doesn't know what is a watchdog, let's see just a small explanation...
Immagine that you made an incredibily wonderful home surveillance system and you are going to use it to check your house during an long trip abroad. After a bunch of days, something goes wrong and your system hangs, so it become unuseful. The only way to solve this problem would be to reboot the system, but you are away from it...
Watchdogs do this reboot for you.