I prefer using CVS. If it is already set up, it is no extra work to do things that way, and for that you get the visibility of a change-log, plus automated emails of changes. Using backup policies may work, but you have to remember more about your system configuration and lose visibility for essentially no savings in effort.

Then again I have to work with crontabs which multiple developers have edit privileges on. When you see something in there that doesn't belong, it is very nice to be able to say, "Who did that?" and get an answer.

Plus we already use CVS for our source-code. And working from system backups is a pain. With CVS any developer has that visibility in the same way they track anything else, without having to ask anyone for assistance. Without it all recoveries have to go to the sysadmin with the first question being, "Where do we keep the backups?" And then once you know where you keep the backups, "Where does this version of Unix keep its crontabs?" My sysadmin has more important things to do than babysit me through what should be a minor "oops". Rolling back something in a crontab may be a common need, but it needn't be a common request.

An incidental benefit for some people is that using revision control makes it easy to have multiple machines have the same crontab.

And finally, revision control is more convenient. For instance I am in the process of modifying some logic about what happens where in the nightly processes we run. It is very convenient that I can edit the crontab file as I am also editing the code for the processes that will run, and then check the associated changes into production together. If I had to make my source-code changes and then remember everything to change in production, then I would be more likely to make mistakes as I take things into production.

So while keeping backups is sufficient for a personal machine, given the choice I strongly prefer to use revision control. (And I would walk before working on a code-base without any kind of revision control in a shared environment. Revision control isn't very hard to set up, and I don't consider it optional. One vote to the first person who can figure out what famous project I would criticize on this issue...)


In reply to Re (tilly) 4: Cron Question by tilly
in thread Cron Question by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.