浏览代码

heartbeat message updated to add where it comes from (update_loop) and with second datestamp

clementinecomputing 6 年之前
父节点
当前提交
b501fb98ca
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      busunit/scripts/update_loop.sh

+ 2 - 1
busunit/scripts/update_loop.sh

@@ -102,7 +102,8 @@ function check_update
 
 while true; do
 
-  echo "## heartbeat"
+  dt=`date +'%s'`
+  echo "## [$dt] update_loop: heartbeat"
 
   #See if we need to spawn our client supervisor
   if [ ! -f $supervisor_pidfile ]; then