Ubuntu - Cron - Schedule Cron to Execute a Job Twice a Day

0 5,17 * * * /scripts/script.sh

The above crontab command will make cron execute the script.sh executable at 5 AM and 5 PM daily.

Notice how the comma has been used to denote multiple hour values.

You can add more values using a comma-separated list to perform the task more than twice.