Closed jmb365 closed 9 months ago
@jmb365 Maybe not bad idea. However I would prefer this job to run between midnight and 5 AM. Probably most of the others will agree with me... Firm time is also working for me
Min=$(/usr/bin/shuf -i 0-60 -n 1) Hr=$(/usr/bin/shuf -i 9-15 -n 1)
Finally, I altered:
CRONJOB="$Min $Hr $INSTEXE $LOGDIR" NEWCJOB="$Min $Hr $1 $2 $INSTEXE $LOGDIR"
I loved!
@jmb365 I tried it. And I really liked it. A few suggestions:
Of course you can reject my suggestions above
hello all and thanks for your comments and suggestions! As I don't currently use crontab because I run no-ip as docker container, if you think this is a useful change, please feel free to submit a pull request and I'll happily merge it!
thanks!
Hello,
I wonder if randomizing the time when the next job should run is of interest. I decided to try it:
Then add the following:
Finally, I altered:
Let me know if it is a good or bad idea. Thanks! JMB