コード例 #1
0
def start_download_services():
    file_download_interval = SystemConfiguration.get_save_download_interval()
    print("Start download services with file download interval in minutes: ")
    print(file_download_interval)
    file_download_monitor = FileDownloadMonitor(file_download_interval)
    file_download_monitor.start()
コード例 #2
0
def filedownloadinterval(name=None):
    SystemConfiguration.save_download_interval(5)
    return render_template('file_download_interval.html', name=name)