How to set up cron to run once a day at random times
问题 Hi so right now I have a basic cron that runs my stuff twice a day at 1 and 6. Something like: H 1,18 * * * The problem is I have like 100 things kicking off at this time which is clogging up my machine. I want to randomly generate a time once a day for each job to run. It's ok if 5-7 are going at once. So I guess my question is. For one is this possible? If so is there a best practice for this? I'm loading everything up in groovy so I was just thinking about generating a number between 1-24