#!/usr/bin/env python

from scriptine.shell import sh
import yaml 

config = yaml.safe_load(open("config.yml"))

def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' %LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' %LOGFILE) 
if __name__ == '__main__':
    clean_log()


2f2985420de1f91fb8772496b49b8a5856ae7fe3
<mask token>


def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' % LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' % LOGFILE)


<mask token>

<mask token>


def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' % LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' % LOGFILE)


if __name__ == '__main__':
    clean_log()

<mask token>
config = yaml.safe_load(open('config.yml'))


def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' % LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' % LOGFILE)


if __name__ == '__main__':
    clean_log()

from scriptine.shell import sh
import yaml
config = yaml.safe_load(open('config.yml'))


def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' % LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' % LOGFILE)


if __name__ == '__main__':
    clean_log()

#!/usr/bin/env python

from scriptine.shell import sh
import yaml 

config = yaml.safe_load(open("config.yml"))

def clean_log():
    LOGFILE = config['rsync']['log_file']
    sh('/bin/cat /dev/null > %s' %LOGFILE)
    sh('/usr/bin/echo Starting backup at `date` > %s' %LOGFILE) 
if __name__ == '__main__':
    clean_log()

