4 ms·
Also not to be confused with watchdog and it's command watchmedo, which is what I thought this was when I first read the headline. I don't know what the differ
by dec0dedab0de 4y ago
Also not to be confused with watchdog and it's command watchmedo, which is what I thought this was when I first read the headline. I don't know what the differences are, but I use watchdog to restart my local celery workers when I make changes. It's scripted out so I don't ever use the command directly.
https://pypi.org/project/watchdog/ https://pypi.org/project/watchdog/
https://github.com/gorakhargosh/watchdog https://github.com/gorakhargosh/watchdog
EDIT:
Now I'm wondering how often I miss out on something because I confuse it for something I already use. Maybe there is room for a "things I use" or "things I know about" browser plugin.
- ghassanmas 4y agoAlso to note "watchdog" the term. Is used also in hardware/software context. Usually as a way to mitgate or recover system faulate. I first I heard of this term while taking in a course about PIC microcontroller[1]. > The Watchdog Timer in the PIC16F819 The watchdog timer can be a real source of pain and can also make a PIC system incredibly robust and reliable. But what exactly is the watchdog timer? Simply put, the watchdog timer is a hardware timer in the PIC that, if not constantly reset by the software, will cause the PIC to reset. This feature can be incredibly useful if the PIC should hang due to a hardware or software issue and guarantees that the PIC will restart from the beginning. Not only does it reset the system, it also flags a bit that can be used to determine if the system just crashed. Ref: https://maker.pro/pic/tutorial/how-to-get-started-with-pic-microcontrollers-timer0-and-the-watchdog-timer https://maker.pro/pic/tutorial/how-to-get-started-with-pic-m... [1]: PIC microcontroller, is a small hardware simliar to arduino but more on a lower level.
- damagednoob 4y agoAlso not to be confused with watchexec (my tool of choice for executing commands on file changes): https://github.com/watchexec/watchexec https://github.com/watchexec/watchexec
- hamparawa 4y agoNot to be confused with the Watchmen; the comic :)