Commit 51d761a8 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

use 10 min as lock timeout

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5057
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 45467588
......@@ -49,6 +49,7 @@
# 06/03/2013 V1.0 select copy command for csbackscp by specialcommands flag
# 07/03/2013 V1.1 provide '-newer' option for copy commands
# 12/03/2013 V1.1.1 add keychain option to secure copy process
# 14/03/2013 V1.1.2 csbackscp wait 10 min on lock
#
# =============================================================================
"""
......@@ -73,7 +74,7 @@ else:
sys.stderr.write("csback2cron: Incompatible python version.\n")
import csbackErrorCodes as eCodes
__version__ = "V1.1.1"
__version__ = "V1.1.2"
__subversion__ = "$Id$"
__license__ = "GPLv2+"
__author__ = "Daniel Armbruster"
......@@ -306,7 +307,7 @@ class SecureCopyConverter(Converter):
self.line = self.sectionDict['cronexpr']+' '
if self.sectionDict['keychain']:
self.line += 'source $HOME/.keychain/${HOSTNAME}-sh; '
self.line += self.scriptLocation+'csbackscp -L -l'
self.line += self.scriptLocation+'csbackscp -L 600 -l'
if self.sectionDict['newer']:
self.line += ' -N "'+self.sectionDict['newer']+'"'
for regex in self.sectionDict['exclude']:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment