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