I am using cron on my Ubuntu headless server 18.04 and the following cron is not executing:
30 13 * * 6 test $((10#$(date +%W)%4)) -eq 1 && /bin/bash /backup/test.sh
I tested the command in shell:
test $((10#$(date +%W)%4)) -eq 1 && /bin/bash /backup/test.sh
and it works fine, but if it is in cron, it doesn't execute it.