Spent over an hour on a shell script that wasn't working properly. I use it, works perfectly. Every time cron executes, does nothing, not even log an error.

It took me that long to realize that the user I was getting the cron to run on didn't have permission to write to my log file... You would think I'd realize this when my error scripts didn't log...

(on that note, the Bandit games at OverTheWire have been awesome refresher on getting back into the swing of linux - highly recommend)

  • 0
    I can't recall how many times this has happend to me. The last time I remember it happen was last week when I created a backup script to backup all emails, create an archive and send it to a remote server using rsync.
Add Comment