Which one is the correct syntax for running a job at every hour?
0 0 * * * *
0 0 */1 * * *
Also how are they both different?
Which one is the correct syntax for running a job at every hour?
0 0 * * * *
0 0 */1 * * *
Also how are they both different?
The correct syntax for every hour job is 0 * * * *
.
But you can use both 0 0 * * * *
and 0 0 */1 * * *
Since */1
means every 1 hour/minute/second like the *
.
© 2022 - 2024 — McMap. All rights reserved.