소스 검색

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*$//'