(Elementary user)
Can anyone please assist in finding the problem with my crontab entry; unfortunately it results in an error when executing. The schedule runs on Tuesdays on even weeks only:
Crontab entry:
29 05 * * 2 (( $( date +'%w' )%2 )) && /path/to/my/script
Error:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
Best regards
Can anyone please assist in finding the problem with my crontab entry; unfortunately it results in an error when executing. The schedule runs on Tuesdays on even weeks only:
Crontab entry:
29 05 * * 2 (( $( date +'%w' )%2 )) && /path/to/my/script
Error:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
Best regards