Crontab running bi-weekly

Hi experts,

Need your help to schedule the script(test.sh) bi-weekly in linux machine.
script need to run at every alernate thursday at 9 am .
Please help to run the same.

In crontab you can set day of month parameter (1 to 31). For example:

    • 4,18 * *

Or every other week, regardless of the day of the month, example every other Thursday at 9:00pm:

0 19 * * 4  [ $(( $(( `date +%s` / 86400 / 7 )) % 2 )) -eq 1]  && /path/to/test.sh

Note: Please give us your OS and the shell you use to let us make sure this will work for you.

Thanks Jim,
OS is redhat hat linux and shell is bash.

Ought to work with a slight correction:

[ ... -eq 1 ]

Thanks dear!!!!1

I give start date to enddate like 21st January to 21st February on Every two week so How can I do that.
I had already done R&D for that but not succeed Please help me.

I tried out for Every other tuesday in following way but not success

10 11 18-28 1-2 2/2 script.sh

Thanks in advance.