Error message:
Cron <root@phab1001> /usr/local/bin/community_metrics.sh /usr/local/bin/community_metrics.sh: line 187: 15283.5000: syntax error: invalid arithmetic operator (error token is ".5000")
Error message:
Cron <root@phab1001> /usr/local/bin/community_metrics.sh /usr/local/bin/community_metrics.sh: line 187: 15283.5000: syntax error: invalid arithmetic operator (error token is ".5000")
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Phabricator monthly email: [Hopefully] fix priority median calculation | operations/puppet | production | +6 -6 |
Note that email was still sent out. I don't know if this means that the script was rerun in the meantime or what.
Change 644383 had a related patch set uploaded (by Aklapper; owner: Aklapper):
[operations/puppet@production] Phabricator monthly email: [Hopefully] fix priority median calculation
Daniel pointed out https://unix.stackexchange.com/questions/89712/how-to-convert-floating-point-number-to-integer as another option
Change 644383 merged by Dzahn:
[operations/puppet@production] Phabricator monthly email: [Hopefully] fix priority median calculation