Jason Lindquist (jlindquist) wrote,
Jason Lindquist

crontab + vim == fucked up

So I noticed my ClamAV database wasn't being updated on the new server. Okay, I forgot to put the freshclam line in clamav's crontab. That was a quick fix.

Except it wasn't. The line was gone. The crontab file was empty. Maybe I forgot to save it before I did something else and rebooted the box. So I put it in again. Saved it this time.

And I'm still getting "outdated database" warnings. Huh?

It turns out, crontab was quietly dropping the changes on the floor. Creating a .vimrc in /root with the line "set backupcopy=yes" fixed everything.

Why this is relevant, I don't know.

  • Aurora reference

    For reference, the only two links I could find on Aurora shooter (and Westview '06 grad) James Holmes, prior to his attendance at Westview being…

  • Your friend, FunnyJunk.com

    If you've never heard of funnyjunk.com, it's run by a content thief. It's a haven for incompetence, stupidity, and douchebaggery. Site owner…

  • X-header crap

    It is ridiculous how big this section of my .muttrc has gotten. Every goddamned special snowflake mailer has to have its own collection of…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.