A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Errors in crontab

When your clever crontab entry doesn't work:


/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'

/bin/sh: -c: line 1: syntax error: unexpected end of file


You might need to escape some characters, like the percent sign: \%


Also consider that the backslash may not have the desired effect if it's inside double quotes.