On Mon, 04 Jul 2011 18:11:50 -0400, Joey Hess wrote: > Nicolas Bercher wrote: >> 2. since I like to track my scripts & configs, I massively use git >> and/or svn and I really love the "one file per functionnality" way of >> manipulating things. Via crontab, everything is just mixed up into >> /var/spool/cron/crontabs/<username> and this hard to track and even >> (afaik) to maintain in a quite automatic way. > > I keep my user crontabs in ~/.cron/$user/$hostname and only change those > files then feed to cron. This allows keeping them in git and eg, pushing > crontab changes out to machines.
That's very interesting! Thanks for the script. I actually changed it a little bit so I can use more than one file per host by changing the last if condition to a for loop over all the files in the host directory. Ramon -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/iuumh2$arq$1...@dough.gmane.org