I'd recommend using git or a similar version control system, and then have some sort of configuration management tool like ansible put it in place on the server.
-jason On Thu, May 3, 2018 at 10:44 AM, Alex Beamish via talk <talk@gtalug.org> wrote: > I'm developing scripts that get run by crontab, so I'm in there making > updates fairly regularly. I would love to be able to document the changes, > so I'm wondering if there a usual and customary technique to version > crontabs? > > Ideally there would be some sort of hook around 'crontab -e', but failing > that, I'd have the output of 'crontab -l' (run regularly by cron?) go to a > versioned file. Plan B sounds a bit hokey to me. > > -- > Alex Beamish > > Software Developer / https://ca.linkedin.com/in/alex-beamish-5111ba3 > Speaker Wrangler, Toronto Perlmongers / http://to.pm.org/ > Baritone, Board Member, Toronto Northern Lights, 2013 Champions / > www.northernlightschorus.com > Certified Contest Administrator, Barbershop Harmony Society / > www.barbershop.org > > > --- > Talk Mailing List > talk@gtalug.org > https://gtalug.org/mailman/listinfo/talk > >
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk