I haven’t gotten around to replacing dcron with fcron yet. But today, as I was working on a little script that needs to add a cronjob, automatically, I realized that it might be a good thing to add another cronjob which only concerns itself with backing up the cronjobs themselves.
Pseudo-codeish something along the lines of
- determine if there is an earlier backup
- determine if that earlier backup differs from what the crontab looks like now
- if differing: make a new (date-organized) backup, otherwise do nothing
And make a cronjob out of it.
I feel I will have to put some more thought into this, but hopefully I could have something up and kicking before long.