teddy 7233700539 feat: 重构定时任务系统并增强配置管理
- 将硬编码的时间配置改为从CONFIG读取
- 支持多接收人配置,修改open_id为数组类型
- 增加发送时间等待功能,确保消息在指定时间发送
- 改进停止定时任务的进程查找逻辑
- 更新配置项,增加checking_time、sending_time和message字段
2025-06-26 17:24:50 +08:00

10 lines
486 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CONFIG = {
"app_id": "cli_a8d64a7be63a500e",
"app_secret": "mcK8aTiq0CLtkzGs2aTZpcnom5J4o6yB",
"open_id": ["ou_c6466a45623096cf7a34d94fe30c6c73", "ou_3b94d0caf83dbced8b0e26af4852a281"],
"file_path": "C:\\Users\\22251\\OneDrive\\桌面\\picture\\",
"messages_reciever": "文件传输",
"checking_time": "17:15",
"sending_time": "17:17",
"message": "新的一天从华智长盈每日AI新闻开始让我们一起看看今天AI圈有啥新鲜事"
}