Replies: 1 comment 8 replies
-
Interesting. It should be possible to enable this and e.g. automate it with logrotate. Works in this way: We'll just have to implement the signal/reopen part. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, whilst long term soak testing, my output ook file grows too large.
Is there a clean way to clear its contents every 'x' days, or when a specific file size is reached?
I have tried to do this using Python, which works, but if it happens to clear the file whilst rtl_433 is writing to it then rtl_433 crashes.
I considered maybe stopping my rtl_433 process, deleting the ook file, then restarting rtl_433, but this feels unnecessarily disjointed.
Anyone have any ideas as to how I might achieve this cleanly?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions