Cron job at midnight and midday only

2 posts / 0 new
Last post
#1 Mon, 08/26/2013 - 02:26
liamdawe

Cron job at midnight and midday only

I am trying to setup a cron job to run at midnight and midday only.

Am I right in putting the minutes at 0, hours at 0 and 12? Then everyday?

Mon, 08/26/2013 - 07:33
andreychek

Howdy,

Yup! Setting the hours to 0 and 12, and the minutes to 0, will cause it to run at 0:00 (midnight) and 12:00 (noon).

And then yeah, select which days you want it to run, which can be every day if that's your preference.

-Eric

Topic locked