Cron job every day at Specific Minute of Specific Hour

I am trying to set a cron job in the crontab which would execute my command every day at specific minute of specific hour. I am using the Indian timezone in my server.

If I set the job like below, well ... it executes at specific minute in every hour:

30 * * * * COMMAND

But if I set the job like below, it doesn't execute:

30 15 * * * COMMAND  # not excecuting

Why it is not executing? Where is the problem?


Solution 1:

You can add a cron job like:

30 00,01,02,....23 * * * COMMAND

where you can specify your desired hours as 00,01,02,...23 (separating them with a comma).