We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0735967 commit 6cd562eCopy full SHA for 6cd562e
1 file changed
dje/management/commands/setupcron.py
@@ -57,7 +57,7 @@ def handle(self, *args, **options):
57
self.stdout.write("Schedule vulnerabilities update:")
58
forever = None
59
scheduler.cron(
60
- cron_string="*/2 * * * *",
+ cron_string=settings.DEJACODE_VULNERABILITIES_CRON, # 3am daily by default
61
func=update_vulnerabilities,
62
result_ttl=300,
63
repeat=forever,
0 commit comments