prevent acme command if dns not pointed to avoid rate limit

This commit is contained in:
Usman Nasir
2022-06-22 14:58:13 +05:00
parent 25e8d1078e
commit 850200cf62
2 changed files with 67 additions and 13 deletions

View File

@@ -979,6 +979,7 @@ def main():
ib = IncScheduler('startBackup', {'freq': args.function})
ib.start()
###
IncScheduler.startBackup(args.function)
@@ -988,6 +989,8 @@ def main():
IncScheduler.startNormalBackups(args.function)
IncScheduler.runAWSBackups(args.function)
ib.join()
if __name__ == "__main__":
main()