I have setup a cron in order to run a search at 8am everyday. Here is the syntax:
* 08 * * *
The search did get executed at 8am, but ran every minute between 8-9am.
I only need the search to run once each day.
Thoughts?
Well the initial *
in your cron schedule specifies the minute, so when you specify * 8
at the beginning that's equal to saying every minute when the hour has the value 8. In order to have it run just at 8:00, just put 0 in the minute part:
0 8 * * *
I use sites like http://crontab.guru/ to make sure that i get my cron jobs right.
every day :
0*/8***
the first * specifies the every minute. so you should write like 0 8 * * *
Well the initial *
in your cron schedule specifies the minute, so when you specify * 8
at the beginning that's equal to saying every minute when the hour has the value 8. In order to have it run just at 8:00, just put 0 in the minute part:
0 8 * * *