Running cron job/task at every hour [duplicate]

Which one is the correct syntax for running a job at every hour?

0 0 * * * *

0 0 */1 * * *

Also how are they both different?

2

1 Answer

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 *.

1

You Might Also Like