Commit:    ce11cbf8b1ff5a799ad096ba8d226a383c93dcce
Author:    Anatol Belski <[email protected]>         Fri, 15 Sep 2017 13:26:12 +0200
Parents:   3d77ce63738d8c82603c21e7b20285814ec5b10d
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ce11cbf8b1ff5a799ad096ba8d226a383c93dcce

Log:
Deactivate locking for snaps for now

Changed paths:
  M  bin/snapshot_task.bat


Diff:
diff --git a/bin/snapshot_task.bat b/bin/snapshot_task.bat
index 5173a74..64590ff 100644
--- a/bin/snapshot_task.bat
+++ b/bin/snapshot_task.bat
@@ -18,10 +18,10 @@ set PART=%*
 set LOG_FILE=%PHP_RMTOOLS_LOG_PATH%\task-%PART: =-%-%cur_date%.log
 set LOCK_FILE=%PHP_RMTOOLS_LOCK_PATH%\snaps.lock
 
-IF EXIST %LOCK_FILE% (
-       ECHO Snapshot script is already running.
-       GOTO EXIT_LOCKED
-)
+rem IF EXIST %LOCK_FILE% (
+rem    ECHO Snapshot script is already running.
+rem    GOTO EXIT_LOCKED
+rem )
 
 ECHO running > %LOCK_FILE% 
 
@@ -33,7 +33,7 @@ if not exist 
"%PHP_RMTOOLS_ROOT_PATH%\data\config\credentials_ftps.php" (
 
 call %PHP_RMTOOLS_BIN_PATH%\snap.bat %* >> %LOG_FILE% 2<&1
 
-del %LOCK_FILE% >> %LOG_FILE% 2<&1
+rem del %LOCK_FILE% >> %LOG_FILE% 2<&1
 
 echo Done.>> %LOG_FILE%


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

Reply via email to