In order to run cron in the night at 4 o'clock I need to write
4 * * * *?
And to run at 16.00 o'clock, it should be
16 * * * *?
No. This would run at the 4th and 16th minute of every hour.
You're looking for:
That will run at both 4am and 4pm.
Or if the two commands are different:
No, that's not correct. The meaning of the fields are:
So for everyday 4am 4pm you should use: