Authored by 沈志敏

只检查pc和wap站

... ... @@ -89,6 +89,7 @@ router.post('/exec', async(ctx) => {
module.exports = {
router,
async check() {
let names = ['yohobuywap-node', 'yohobuy-node']; // 只检查pc 和wap站
let rule = new schedule.RecurrenceRule();
rule.dayOfWeek = [0, new schedule.Range(1, 6)];  
... ... @@ -102,7 +103,7 @@ module.exports = {
}
projects.forEach(async(p) => {
if (p.name !== 'yohobuywap-node') { // todo 暂时只检查wap站
if (names.indexOf(p.name) === -1) {
return;
}
if (!running[p.name]) {
... ...