[GTALUG] Crontab versioning

William Park opengeometry at yahoo.ca
Thu May 3 23:44:10 EDT 2018


Couldn't you do something like 
    cp file file--$(date +%F_%T)
?
-- 
William Park <opengeometry at yahoo.ca>

On Thu, May 03, 2018 at 10:44:57AM -0400, Alex Beamish via talk 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 at gtalug.org
> https://gtalug.org/mailman/listinfo/talk


More information about the talk mailing list