mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
调试脚本增加停止,修复调试交互
This commit is contained in:
@@ -241,7 +241,7 @@ export default class CronService {
|
||||
});
|
||||
}
|
||||
|
||||
private async killTask(name: string) {
|
||||
public async killTask(name: string) {
|
||||
let taskCommand = `ps -ef | grep "${name}" | grep -v grep | awk '{print $1}'`;
|
||||
const execAsync = promisify(exec);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user