Skip to content

Commit 6cd562e

Browse files
committed
Revert the cron_string to 3am daily #199
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent 0735967 commit 6cd562e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dje/management/commands/setupcron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def handle(self, *args, **options):
5757
self.stdout.write("Schedule vulnerabilities update:")
5858
forever = None
5959
scheduler.cron(
60-
cron_string="*/2 * * * *",
60+
cron_string=settings.DEJACODE_VULNERABILITIES_CRON, # 3am daily by default
6161
func=update_vulnerabilities,
6262
result_ttl=300,
6363
repeat=forever,

0 commit comments

Comments
 (0)