多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` const axios \= require('axios') const schedule \= require('node-schedule') schedule.scheduleJob({ hour: 22, minute: 08 }, function () { // 每天6点执行 axios     .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,       },     })     .then(response \=> { console.log( response.data)     })     .catch(error \=> { console.log( error)     }) }) schedule.scheduleJob({ hour: 22, minute: 08 }, function () { // 每天6点执行 axios         .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,           },         })         .then(response \=> { console.log( response.data)         })         .catch(error \=> { console.log( error)         })     }) schedule.scheduleJob({ hour: 12, minute: 01 }, function () { // 每天6点执行 axios             .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,               },             })             .then(response \=> { console.log( response.data)             })             .catch(error \=> { console.log( error)             })         }) schedule.scheduleJob({ hour: 12, minute: 01 }, function () { // 每天6点执行 axios             .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,               },             })             .then(response \=> { console.log( response.data)             })             .catch(error \=> { console.log( error)             })         }) schedule.scheduleJob({ hour: 22, minute: 14 }, function () { // 每天6点执行 axios                 .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,                   },                 })                 .then(response \=> { console.log( response.data)                 })                 .catch(error \=> { console.log( error)                 })             }) schedule.scheduleJob({ hour: 22, minute: 15 }, function () { // 每天6点执行 axios                     .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班打卡啦,冲鸭!!!`,                       },                     })                     .then(response \=> { console.log( response.data)                     })                     .catch(error \=> { console.log( error)                     })                 }) ```