mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 20:26:11 +08:00
修复 demo 环境提示
This commit is contained in:
parent
224000b63b
commit
7d65d96ebd
|
@ -707,6 +707,7 @@ export default class CronService {
|
|||
}));
|
||||
|
||||
if (isDemoEnv()) {
|
||||
await writeFileWithLock(config.crontabFile, '');
|
||||
return;
|
||||
}
|
||||
await cronClient.addCron(regularCrons);
|
||||
|
|
Loading…
Reference in New Issue
Block a user