Skip to content

Commit

Permalink
WEB_USER wasn't referenced
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuksan committed Oct 17, 2012
1 parent 553311a commit 3c93048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nagios/warmup_metric_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SCRIPT_HOME=${0%/*}
while [ 1 ]; do

echo "Metric cache - "`date`
sudo -u www-data php $SCRIPT_HOME/warmup_metric_cache.php
sudo -u $WEB_USER php $SCRIPT_HOME/warmup_metric_cache.php
sleep $SLEEP_TIME

done

0 comments on commit 3c93048

Please sign in to comment.