crontabs entry not working

Hi,
I have a crontab entry like the one shown below. My aim is to run the script from 06.10pm to 06.10am. But it seems not working.


10 18-06 * * * /usr/local/proj/cgi-bin/printmsg.pl 1>> /usr/local/proj/cgi-bin/printmsg.pl 2>> /usr/local/proj/cronlogs/printmsg.log

  Is this entry wrong or anybody knows the reason why it's not working.
  Thanks in Advance!

Regards
Dileep

10 0-6,18-23 * * *

Thanks for the reply, so is it not possible to mention a descending range in crontab entry?