Browse Source

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

Ask Solem 15 years ago
parent
commit
a0034c060a
1 changed files with 1 additions and 1 deletions
  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*$//'