qinglong/back
copilot-swe-agent[bot] 2c57ada739 Fix: Disable/enable associated cron tasks when subscription is disabled/enabled
When a subscription is disabled, the associated cron tasks (created by the subscription) were still running and updating scripts. This fix ensures that:
- When disabling a subscription, all cron tasks with matching sub_id are also disabled
- When enabling a subscription, all cron tasks with matching sub_id are also enabled

This addresses the actual root cause: subscription tasks don't run when disabled (as the owner correctly pointed out), but the cron tasks created by those subscriptions were still active.

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-20 16:11:56 +00:00
..
api Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
config feat: Support multiple concurrent login sessions per platform (#2816) 2025-11-19 00:18:29 +08:00
data Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services Fix: Disable/enable associated cron tasks when subscription is disabled/enabled 2025-11-20 16:11:56 +00:00
shared feat: Support multiple concurrent login sessions per platform (#2816) 2025-11-19 00:18:29 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation Fix task duplication: add single/multi-instance support with UI configuration and stop all running instances (#2837) 2025-11-19 00:10:27 +08:00
app.ts 更新启动日志 2025-11-16 21:31:52 +08:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00