Search code examples
bashcronsystemscheduled-tasks

How to run cron once, daily at 10pm


I had entered:

* 22 * * * test > /dev/null

However, I am being notified via email that this is running every minute. I am confused I guess because I thought this was correct for what I am wanting.


Solution

  • It's running every minute of the hour 22 I guess. Try the following to run it every first minute of the hour 22:

    0 22 * * * ....