From 81fbd46aac48ce2e0c4370d59e7d577da2df7c90 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 20 Apr 2023 22:03:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pt_site/views.py b/pt_site/views.py index b49765d..9729efe 100644 --- a/pt_site/views.py +++ b/pt_site/views.py @@ -273,6 +273,7 @@ def auto_get_upgrade(): @register_job(scheduler, 'cron', id='auto_do_xpath', hour=2, minute=30, replace_existing=True) def auto_do_xpath(): + """同步数据库""" try: logger.info('开始自动更新') update_commands = {