From db5629b4a4defdd6d2c2ee3d0299d4f2f2c95e33 Mon Sep 17 00:00:00 2001 From: Leon Date: Wed, 25 Aug 2021 07:52:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1cron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/py/deleteDuplicateTasksImplement.py | 2 +- Scripts/py/disableDuplicateTasksImplement.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Scripts/py/deleteDuplicateTasksImplement.py b/Scripts/py/deleteDuplicateTasksImplement.py index 4a2877f..73ba11a 100644 --- a/Scripts/py/deleteDuplicateTasksImplement.py +++ b/Scripts/py/deleteDuplicateTasksImplement.py @@ -1,9 +1,9 @@ +# -*- coding:utf-8 -*- ''' cron: 20 0-23/2 * * * new Env('清理重复任务'); ''' -# -*- coding:utf-8 -*- import json import os,sys import requests diff --git a/Scripts/py/disableDuplicateTasksImplement.py b/Scripts/py/disableDuplicateTasksImplement.py index 43c6a71..37effa8 100644 --- a/Scripts/py/disableDuplicateTasksImplement.py +++ b/Scripts/py/disableDuplicateTasksImplement.py @@ -1,4 +1,9 @@ # -*- coding:utf-8 -*- +''' +cron: 20 0-23/2 * * * +new Env('禁用重复任务'); +''' + import json import os,sys import requests