executing a cron

Hi Gurus

I have a requirement to execute a cron job every 30 min until 8pm in the night and again start at 8 am in the morning. How would I add the cron entry for this requirements. all inputs are appreciated.

Thanks in advance

I think basically the job should every 30mins from 8AM-8PM...May be one way of doing is ...

30 08-20 * * * your job > log path

OP had mentioned every 30 mins

so this command would run for

9 30
10 30

isnt that ?

even i was thinking may be like

30 08,09,10,11,12,13,14,15,16,17,18,19,20 * * * <job to be executed>

lets see what gurus thinkg here.....

it should be something like

30,60 08-20 * * * your job > log path

Oops!!! May be your command might work for him...Thanks for the correction.....

thanks guys. I have just implemented the cron. Will let you know if it works.. thanks

The cron is not executing this way. Do you know why.

Thanks

Guys, its actually working. I added an extra * and so it didn't work the first time. thanks a lot for your help.