Plot-Pings-in-Python icon indicating copy to clipboard operation
Plot-Pings-in-Python copied to clipboard

Generate output files on SIGTERM

Open matthiasotto opened this issue 3 years ago • 2 comments

I am running this on my Pi to help track down ISP issues. I want to push it as a job with & and then disown it so my SSH connection doesn't affect the job when I disconnect.

Later, I might want the plot file to be written by sending SIGTERM to the process.

Would this make sense?

matthiasotto avatar Mar 11 '22 17:03 matthiasotto

Furthermore, this would allow to run it on a CRON job to create a daily PNG to avoid having to draw a massive single PNG to capture a whole week. 🙂

matthiasotto avatar Mar 12 '22 15:03 matthiasotto

Makes sense. I originally wrote this many years ago and realize there are substantial flaws with how it works. Probably time for a re-write!

ccampo133 avatar Mar 14 '22 14:03 ccampo133