script to log can intended to be called once a da from crontab placed in

home directory
This commit is contained in:
R.P. Clark 2024-12-16 10:56:23 +00:00
parent ab7504ac5b
commit d62ab3042a

View File

@ -24,7 +24,7 @@ find . -type f -name "*.log" -exec rm -f {} \;
/usr/bin/candump -l -t A can0 & /usr/bin/candump -l -t A can0 &
# Find and delete .log files older than one month # Find and delete .log.zip files older than one month
# #
find . -type f -name "*.log.zip" -mtime +30 -exec rm -f {} \; find . -type f -name "*.log.zip" -mtime +30 -exec rm -f {} \;