summaryrefslogtreecommitdiff
path: root/examples/dbdb-logger
blob: c0d14f0d36d73ed993656f62aa81bfca4d8ceede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/zsh

export DBDB_PASSWORD=changeme

SLEEPMIN=60
SLEEPRAND=60

while sleep $(( SLEEPMIN + (RANDOM % SLEEPRAND) )); do
	/srv/www/dbdb/bin/iris-delay-stats EE
	sleep $(( SLEEPMIN + (RANDOM % SLEEPRAND) ))
	/srv/www/dbdb/bin/iris-delay-stats KD
	sleep $(( SLEEPMIN + (RANDOM % SLEEPRAND) ))
	/srv/www/dbdb/bin/iris-delay-stats AH
	sleep $(( SLEEPMIN + (RANDOM % SLEEPRAND) ))
	/srv/www/dbdb/bin/iris-delay-stats FF
	sleep $(( SLEEPMIN + (RANDOM % SLEEPRAND) ))
	/srv/www/dbdb/bin/iris-delay-stats MH
done