Open KapUttyy opened 4 months ago
Didn't saw this before. Might be overlapping with my pull request: https://github.com/bassmaster187/TeslaLogger/pull/1344
I made a similar change, but more complex to cleanup stuff, but have yearly backups still available.
Checking if this months backup of the logfile already exists. If not copying and zipping of logfile. If zipped logfile is created successfully, copy of logfile will be erased and nohup.out gets cleaned up.
Not every run of the script if it is the first day of the month.
Please review before merging as I am not a shell script guy ;-)