#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import getpass
import time
from twisted.internet import task
from twisted.internet import reactor


# Configuration 

timeout = 3600*24*3 # Period
restic_command = "/home/mebus/restic" # your restic command here

# Program

def do_restic_backup():
    print "\nStarting Backup at " + str(time.ctime())
    os.system(restic_command)

print "\nRestic Scheduler\n----------------------------\n"
print "Timout ist: " + str(timeout)
restic_password = getpass.getpass(prompt="Please enter the restic encryption password: ")
os.environ["RESTIC_PASSWORD"] = restic_password

l = task.LoopingCall(do_restic_backup)
l.start(timeout)

reactor.run()

@@ -161,17 +161,16 @@
 guration
- 
 %0A%0Atimeou
@@ -269,16 +269,17 @@
 rogram%0A%0A
+%0A
 def do_r
@@ -303,20 +303,18 @@
    print
- %22%5Cn
+('
 Starting
@@ -324,23 +324,26 @@
 ckup at 
-%22 + str
+%7B%7D'.format
 (time.ct
@@ -348,16 +348,17 @@
 ctime())
+)
 %0A    os.
@@ -390,12 +390,10 @@
 rint
- %22%5Cn
+('
 Rest
@@ -408,68 +408,53 @@
 uler
-%5Cn----------------------------%5Cn%22
+')%0Aprint('-' * 30)
 %0Aprint
- %22
+('
 Tim
+e
 out
- ist: %22 + str
+: %7B%7D'.format
 (tim
@@ -458,16 +458,17 @@
 timeout)
+)
 %0Arestic_

Use py3-style print and string-formatting