ANSSI-FR/polichombr

View on GitHub
examples/reschedule_analysis.py

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env python

from time import sleep

from polichombr import app
from polichombr.controllers.api import APIControl


def launch():
    api = APIControl()
    api.analysiscontrol.reschedule_all_analysis(True)
    app.logger.info("Rescheduled all analysis!")
    sleep(2000000)
    return 0

if __name__ == "__main__":
    launch()