add timestamp and emit log output to STDERR
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Wed, 11 Apr 2012 18:18:02 +0000 (20:18 +0200)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Wed, 11 Apr 2012 18:18:02 +0000 (20:18 +0200)
gearman/list_files

index 924e2dc..4be8768 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 while read path ; do
-       echo "## list_files [$path]"
+       echo `date +%Y-%m-%d.%H:%M:%S`" list_files [$path]" >&2
        eval path=$path # expand ~
        if [ -e $path/.meta/files ] ; then
                cat $path/.meta/files