瀏覽代碼

contrib/periodic-task-runtimes.sh: Find when the task was started, not when it
ended.

Ask Solem 16 年之前
父節點
當前提交
a0034c060a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/periodic-task-runtimes.sh

+ 1 - 1
contrib/periodic-task-runtimes.sh

@@ -36,7 +36,7 @@ get_processed_date_for_task () {
     host="$1"
     ssh "$USER@$host" "
         grep '$query' $CELERYD_LOGFILE | \
-            grep 'processed:' | \
+            grep 'Got task from broker:' | \
             perl -nle'
                 /^\[(.+?): INFO/; print \$1' | \
             sed 's/\s*$//'