From 727da85755399a6201b8c156e9ef583a17b7761b Mon Sep 17 00:00:00 2001 From: chenwj113 Date: Tue, 2 May 2023 12:55:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84(1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/__init__.py | 0 cron_tasks.py => tasks/cron_tasks.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 tasks/__init__.py rename cron_tasks.py => tasks/cron_tasks.py (94%) diff --git a/tasks/__init__.py b/tasks/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/cron_tasks.py b/tasks/cron_tasks.py similarity index 94% rename from cron_tasks.py rename to tasks/cron_tasks.py index e1cf44e..868a985 100644 --- a/cron_tasks.py +++ b/tasks/cron_tasks.py @@ -1,3 +1,6 @@ +import sys +sys.path.append("/root/documents/py_scripts") + import time from schedule import every, repeat, run_pending