コマンドラインで私ができること
cp htlog.out test.$(date '+%m%d%Y')
しかし、次のようにcrontabしようとすると:
37 17 * * 1-5 cd the/dir && cp htlog.out test.$(date "+%m%d%Y")
CRON DAEMON からの次のメッセージで失敗します。
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
そして、コマンドの後にエンドラインがあります。そのcrontabエントリの何が問題になっていますか?