watchdog Questions
6
I using an STM32 (L0 5) HAL I need to disable IWDG or WWDG before entering in STOP mode. The below code is working fine until IWDG is resetting the MCU from STOP mode. For WWDG usage this is much f...
3
I am trying to write a little asynchronous WebServer. Let me briefly describe the scenario:
My ESP32 as well is a router. So if I connect with my mobile phone into the WiFi the ESP32 is spreading a...
Nunnery asked 19/2, 2021 at 13:16
5
Solved
I have some python automation, which spawns telnet sessions that I log with the linux script command; there are two script process IDs (a parent and child) for each logging session.
I need to solve...
4
Solved
I want to write a daemon in python which gets started via systemd.
I want to use Type=notify, this way I don't have to do the double fork magic.
According to the docs:
The reference implementation...
6
Solved
I have a need to watch a log file for changes. After looking through stackoverflow questions, I see people recommending watchdog. So I'm trying to test, and am not sure where to add the code for wh...
Reagan asked 3/9, 2013 at 18:42
4
I am using Watchdog to monitor a directory and keep it in sync with Dropbox.
I am facing a situation where every time I download a file from Dropbox, I trigger an upload event as I need to write t...
Moorish asked 13/9, 2013 at 8:3
3
Solved
When I try to run this code as is I get this error "IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch) pywintypes.com_error: (-2147221008, 'CoInitialize has no...
2
Solved
I'm using Watchdog to monitor a network directory, non-recursive, for a specific pattern of files to be created over time. The issue I am seeing is that while it works fantastic when I test locally...
Telemotor asked 28/2, 2012 at 23:7
9
Solved
I have a watchdog in my microcontroller that if it is not kicked, will reset the processor. My applications runs fine for a while but will eventually reset because the watchdog did not get kicked. ...
1
According to FCM documentation high-priority messages might become de-prioritized, if the FCM server detects a pattern in which high-priority messages do not result into user interactions. The deta...
Atrabilious asked 23/11, 2018 at 15:55
2
Solved
I have an interesting problem that is driving me nuts. I have a python program that is using watchdog.observers.Observer. This program (aka watcher) watches a folder and responds when files appear ...
2
I have a simple Watchdog and Queue process to monitor files in a directory.
Code taken from https://camcairns.github.io/python/2017/09/06/python_watchdog_jobs_queue.html
import time
from watchdog....
Cleo asked 10/12, 2019 at 10:48
3
Solved
I have a ChibiOS 3.x program on a STM32F4 microcontroller where I use the IWDG watchdog to reset the MCU on errors like this:
int main() {
iwdgInit();
iwdgStart(&IWDGD, &wd_cfg);
while(...
2
Solved
I am trying to detect when a file with a given name is created in a directory. I am doing it thanks to watchdog. The creation is correctly detected but I don't know how to terminate the application...
Metropolis asked 9/8, 2012 at 12:21
2
Solved
I'm trying to use watchdog to run a sync script whenever anything changes in a dir (except for one specific file). I simply copied the code from the readme (pasted below), which does what it says; ...
Crawl asked 3/10, 2015 at 14:1
16
Solved
I'm trying to set up a cron job as a sort of watchdog for a daemon that I've created. If the daemon errors out and fails, I want the cron job to periodically restart it... I'm not sure how possible...
3
Solved
I would like to implement a simple watchdog timer in Python with two use cases:
Watchdog ensures that a function doesn't execute longer than x seconds
Watchdog ensures that certain regularly exec...
4
Solved
I am trying to figure out a way to verify that a BackgroundWorker thread is alive (i.e. still running. The thread is essentially implemented as a simple infinite loop:
while (AllConditionsMet())
{...
Ligament asked 30/10, 2012 at 13:7
3
I'm new to Python and I'm trying to implement a good "file creation" detection. If I do not put a time.sleep(x) my files are elaborated in a wrong way since they are still being "created" in the fo...
1
Our app received the crash multi times due to use Pasteboard. Under this situation when I try to use system Notes paste the content, the system notes will block too. So I write a program try to rea...
Emendate asked 21/12, 2018 at 8:53
4
Solved
I need some way to monitor a desktop application and restart it if it dies.
Initially I assumed the best way would be to monitor/restart the process from a Windows service, until I found out that...
Kramlich asked 21/6, 2012 at 20:40
1
I am trying to create a simple app in which
an image is pushed in a directory (by an outside process)
Python watchdog triggers and the image is processed by a function and results are displayed ...
Gingras asked 23/4, 2019 at 4:19
4
Solved
I currently have a basic functioning script that monitors a single directory and all sub-directories below for changes and passes the output to the LoggingEventHandler.
I now want to expand my scr...
2
I'm trying to feed the watchdog device - /dev/watchdog in Raspbian - from C.
The problem is no matter how i try to access the device always throws busy or permission denied errors (as the process...
Radiolarian asked 27/5, 2015 at 13:37
1
Solved
I need a component in my Android app that is best being described as a watchdog, i.e. a function that is executed every 30min +/- 5min and asserts that a certain condition is still met. The watchdo...
Bilabiate asked 29/10, 2018 at 10:10
1 Next >
© 2022 - 2025 — McMap. All rights reserved.