Rev 14305 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
from datetime import datetimefrom dtr.config import PythonPropertyReaderfrom dtr.main import settlePayBack, tprintimport tracebackdef main():try:now = datetime.now()if now.hour == 12 and now.weekday()==int(PythonPropertyReader.getConfig('CREDIT_DAY_OF_WEEK')):tprint("Settling payback")settlePayBack()except:tprint("Error")traceback.print_exc()if __name__=='__main__':main()