Running a cron job at 08:00 AM and 17:00 everyday

Issue

Hi I was trying different things here:
https://crontab.guru/
My idea was to set the cron job to run at 08:00 AM and 17:00 everyday
But i couldn’t made this to work. Can anyone help me with that?

Solution

You can use commas to add multiple of that unit. This works for all time units, not just for hours:

0 8,17 * * *

Answered By – Teun

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published