zimbra-alarm/entrypoint.sh

8 lines
211 B
Bash
Raw Normal View History

#!/bin/sh
set -u
while true ;do
/go/bin/zimbra-alarm --indexname "maillog_mailbox" -timerange "${REQUEST_TIME_RANGE}m" -operation es-request-data -pg-insert -request-rows ${REQUEST_ROWS}
sleep 120
done