#228 fas_client: change cron to generate new aliases every 10min instead of once a day
Merged 3 years ago by kevin. Opened 3 years ago by kevin.
Unknown source fas-aliases-every-10min  into  master

@@ -1,1 +1,1 @@

- 00 19 * * * root /usr/local/bin/lock-wrapper fasClient "/bin/sleep $(($RANDOM \% 45)); /usr/bin/fasClient -ia | /usr/local/bin/nag-once fassync 1d 2>&1"

+ */10 * * * * root /usr/local/bin/lock-wrapper fasClient "/bin/sleep $(($RANDOM \% 45)); /usr/bin/fasClient -ia | /usr/local/bin/nag-once fassync 1d 2>&1"

There seems to be a increase in number of people wanting to use their
fedoraproject.org alias right away. So, increase the time we generate
it. It currently takes 14seconds to run it.

Signed-off-by: Kevin Fenzi kevin@scrye.com

Simple +1. I dont know how long it will take to run it but it has the lock-wrapper, so :thumbsup:

Oh its 14 secs, I should read the description...

Now that Kevin reminded me how sleep works so it is sleeping 45 seconds and not 45 minutes.. +1

rebased onto e200f37

3 years ago

rebased onto e200f37

3 years ago

Pull-Request has been merged by kevin

3 years ago