Search code examples
croncron-task

Cron job sends every minute instead of specefic time


I have the following cron job:

* * 21 * * * wget -qO /dev/null http://myDomain/myController/myView

Which sends me a mail.

However as I can see from my now very full mail box I receive a mail every minute instead of every day at 21.00.

What am I doing wrong?


Solution

  • I found the answer.

    Apprently the type of linux machine im running needs to be * */21 * * wget

    Note the dash