shallow-backup icon indicating copy to clipboard operation
shallow-backup copied to clipboard

backup and restore crontab file

Open AlexanderProd opened this issue 5 years ago • 4 comments

simple solution for backing up and restoring the crontab. #215

AlexanderProd avatar Apr 02 '20 11:04 AlexanderProd

Is it possible to do this with a crontab library? Seems dirty to write this feature in bash when it may not be necessary.

alichtman avatar Apr 02 '20 11:04 alichtman

I don't know about any simple libraries that just read and write to the system crontab. Imo the backing up part would be overkill with a library.

AlexanderProd avatar Apr 02 '20 11:04 AlexanderProd

Just looked and agree that there isn't a good library for this.

alichtman avatar Apr 03 '20 13:04 alichtman

Let's add some tests for this and then I'm good merging it in.

alichtman avatar Apr 08 '20 15:04 alichtman