Commit:    09876f7244f8e2ebc1884cf1084c29d64e807510
Author:    Nuno Lopes <nlop...@php.net>         Tue, 13 Nov 2012 17:02:22 -0500
Parents:   7f0893010ebdfc0662903abe88595b9f7a91d438
Branches:  master

Link:       
http://git.php.net/?p=web/gcov.git;a=commitdiff;h=09876f7244f8e2ebc1884cf1084c29d64e807510

Log:
sync with local version

Changed paths:
  M  cronjob


Diff:
diff --git a/cronjob b/cronjob
index 55dab71..18ca0d4 100755
--- a/cronjob
+++ b/cronjob
@@ -1,31 +1,24 @@
 PHPROOT=/var/php_gcov
 
-# copied from cron.sh
-
 # the file with the pid of this process
 GLOBALPIDFILE="${PHPROOT}/build.pid"
 
 # check if we are alone. if not, quit.
 if [ -f ${GLOBALPIDFILE} ]; then
         if ( ps -p `cat "$GLOBALPIDFILE"` > /dev/null ); then
-#               echo -n "Process already running with PID: "
-                cat ${GLOBALPIDFILE}
                 exit 1
         fi
 fi
 
 
-#hack to update PECL extensions
-cd /var/php_gcov/PHP_5_3/ext/memcache && cvs -q up
-
+# update gcov website
+cd /local/Web/sites/php-gcov-web
+git pull > /dev/null
 
-#get oracle XE environment vars
-. /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
 
+# get oracle XE environment vars
+. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
 
-#this should be covered by cvsclean nowadays
-#cd /var/php_gcov
-#find -name '*.gcda' -o -name '*.gcno' -o -name '*.da' -o -name '*.bb' -o 
-name '*.bbg' -o -name '*.mem' | xargs -n 1024 rm -f
 
 cd /local/Web/sites/php-gcov-web/cron
-./cron.sh > nohup.out 2>&1
+./cron.sh &> nohup.out


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to