Explorar el Código

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

Ask Solem hace 15 años
padre
commit
a0034c060a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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*$//'