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

Adjusted crontab generation process so the tools make use of the

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.
pidlockfile handler.

See ticket:153.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4383
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b4c96627
......@@ -144,7 +144,7 @@ class MailConverter(Converter):
def convertDict(self):
self.line = self.sectionDict['cronexpr']+' csbackmail'
if self.sectionDict['logging']:
self.line += ' -l'
self.line += ' -l -a'
self.line += ' -H '+self.sectionDict['host']+' -P '+ \
self.sectionDict['port']+' -u '+self.sectionDict['username']+' -p ' \
+ self.sectionDict['password']+' -s '+self.sectionDict['sender']
......@@ -161,7 +161,7 @@ class TestConverter(Converter):
self.line = self.sectionDict['cronexpr']+' '
self.line += 'csbackchk'
if self.sectionDict['logging']:
self.line += ' -l'
self.line += ' -l -a'
if not self.sectionDict['recursive']:
self.line += ' -R'
if self.sectionDict['followlinks']:
......@@ -192,7 +192,7 @@ class BackupConverter(Converter):
self.line += str(copyConv)+";"
self.line += ' csbackgen'
if self.sectionDict['logging']:
self.line += ' -l'
self.line += ' -l -a'
if not self.sectionDict['recursive']:
self.line += ' -R'
if self.sectionDict['followlinks']:
......
Markdown is supported
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