|
|
@@ -73,7 +73,7 @@ def main():
|
|
|
else:
|
|
|
print("Tasks list is empty")
|
|
|
|
|
|
- project_path = '/ql/data/scripts/auto_message/'
|
|
|
+ project_path = '/ql/data/scripts/auto/'
|
|
|
spider_common_path = os.path.join(project_path, 'spider_common')
|
|
|
spider_news_path = os.path.join(project_path, 'spider_news')
|
|
|
spider_rsshub_path = os.path.join(project_path, 'spider_rsshub')
|
|
|
@@ -84,19 +84,19 @@ def main():
|
|
|
'base_tasks': [
|
|
|
{
|
|
|
"name": "每天开始自动创建日志",
|
|
|
- "command": "python3 {}/utils_daily_logs_generate.py".format(utils_path),
|
|
|
+ "command": "python3 {}/base_daily_logs_generate.py".format(utils_path),
|
|
|
"schedule": "0 0 * * *",
|
|
|
"labels": ["base"]
|
|
|
},
|
|
|
{
|
|
|
"name": "每天结束自动发送日志",
|
|
|
- "command": "python3 {}/utils_daily_logs_send.py".format(utils_path),
|
|
|
+ "command": "python3 {}/base_daily_logs_send.py".format(utils_path),
|
|
|
"schedule": "58 23 * * *",
|
|
|
"labels": ["base"]
|
|
|
},
|
|
|
{
|
|
|
"name": "每天自动删除旧数据",
|
|
|
- "command": "python3 {}/utils_timing_remove_data.py".format(utils_path),
|
|
|
+ "command": "python3 {}/base_timing_remove_data.py".format(utils_path),
|
|
|
"schedule": "1 0 * * *",
|
|
|
"labels": ["base"]
|
|
|
},
|