mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 18:40:37 +08:00
修复 demo 环境提示
This commit is contained in:
1 parent
224000b63b
commit
7d65d96ebd
1 file changed
+1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user