script to log can intended to be called once a da from crontab placed in
home directory
This commit is contained in:
parent
ab7504ac5b
commit
d62ab3042a
@ -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 {} \;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user