[arm-allstar] ARM-allstar Digest, Vol 106, Issue 13
Mark VE3JMR
ve3jmr at jmarkrobinson.ca
Thu Mar 16 01:59:04 EDT 2023
Hi Ken;
A cronjob does not solve the issue because every time the node is
rebooted, the data in volatile memory is immediately wiped. Sure, I
could run a daily cronjob, however, what happens if I reboot the node 5x
that day? The data I want to retain is gone. David's solution is the
best, i've followed his instructions and it works!
If you read my reply to David, I have a script that runs daily from a
cronjob and it trims down the log files to the max size that I specify.
Further, I have modified the backup script to include all of the log
files. I backup about once per week so even if the log files are
trimmed, I can go to backups to see the logs prior to trimming.
On 2023-03-15 12:00, arm-allstar-request at hamvoip.org wrote:
> Date: Tue, 14 Mar 2023 08:27:34 -0700
> From: Ken Arck <ken at arcomcontrollers.com>
> Subject: Re: [arm-allstar] Linux log
>
> He could always create a cronjob to copy the current log file to a
> non-ram directory...
>
> Ken
>
> Thanks so much.
>
> 73 75 de VE3JMR | VE3MR
> Mark
> Port Colborne, Ontario, CANADA
> https://www.qrz.com/db/VE3JMR
> Allstar# 531320 [1] | Echolink# 736666 | VE3JMR-L [2]
>
> [3] [4] [5]
> Ottawa ARC [3] Burlington ARC
> [4] Radio Amateur of Canada [5]
>
> LIFE has an expiry date.
> <if trumpet=%true then exit function>
Links:
------
[1] http://stats.allstarlink.org/stats/531320
[2]
https://www.echolink.org/links.jsp?lat_deg=42&lat_min=52.997999999999905&lat_NS=North&lon_deg=79&lon_min=13.99799999999999&lon_EW=West&gs=FN02jv&sel=city&city=Port+Colborne&state=ON&country=CA&d=1
[3] https://oarc.net
[4] https://www.barc.ca
[5] https://www.rac.ca
More information about the ARM-allstar
mailing list