I just noticed the same bug. It is in:
3.0pl1-120ubuntu4
but not in:
3.0pl1-124ubuntu2
It has already been fixed in 2011 in the debian-cron-git repo:
git://git.debian.org/git/pkg-cron/pkg-cron.git
commit fe274309d8d7e7787e06d2cb88ec4ed280b63805
Author: Javier Fernandez-Sanguino <[email protected]>
Date: Wed Sep 21 23:22:58 2011 +0200
Escape the '%' in the examples so that they can work when copied
over to crontab (Closes: #642309)
...
-0 4 8-14 * * test $(date +%u) \-eq 6 && echo "2nd Saturday"
+0 4 8-14 * * test $(date +\\%u) \-eq 6 && echo "2nd Saturday"
Cheers,
Walter Doekes
OSSO B.V.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]