Question : Crontab job till particular date

I would like to know that in crontab can I schedule it to execute my shell script every day but till particular date of month.
Like I want to execute my "schel.sh" say everyday at 10PM till July 24, 2010, after July 24 the script should not get executed, i.e., last execution of script should happen on 10PM July24, 2010, after this no execution.

Answer : Crontab job till particular date

.. forgot one slash

0 22 * * * [ $(date +\%Y\%m\%d) -le 20100724 ] && /path/to/schel.sh  >/dev/null 2>&1

Random Solutions  
 
programming4us programming4us