qinglong/back/shared
copilot-swe-agent[bot] e6719a3490 Add multi-instance support and fix stop to kill all running instances
- Add allow_multiple_instances field to Crontab model (default: 0 for single instance)
- Add validation for new field in commonCronSchema
- Add getAllPids and killAllTasks utility functions
- Update stop method to kill ALL running instances of a task
- Update runCron to respect allow_multiple_instances config
- Backward compatible: defaults to single instance mode

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-17 15:20:21 +00:00
..
interface.ts 定时服务区分系统、订阅、脚本任务 2024-08-23 23:06:50 +08:00
logStreamManager.ts Optimize log file writes using stream pooling (#2835) 2025-11-16 21:11:10 +08:00
pLimit.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
runCron.ts Add multi-instance support and fix stop to kill all running instances 2025-11-17 15:20:21 +00:00
store.ts 修改认证信息存储方式,避免认证信息异常 2024-12-30 14:23:04 +08:00
utils.ts 修复创建脚本可能失败 2025-05-20 01:00:08 +08:00