Here I wrote about my initial attempts with Python. I started with
a backup script for my home-computer because that’s what I needed at the time.
Now I’m reviewing and tweaking it.
My considerations at the time of writing the initial script were:
whether a cronjob ran at its determined date (that means it runs regularly)
if the cronjob ran successfully
It should also be monitor-able via Nagios. That means, it should
provide a meaningful output for when something went wrong with the
cronjob, e.g. “CRITICAL …
UPDATE: I rewrote the whole script. You can find it here!
I wanted to get into Python recently and to have a reason to actually
learn the language, I thought to myself, why not replace the
bash-scripts I use on my private computer. I started with my backup
script, that …