This commit is contained in:
lxk0301
2021-01-21 13:58:50 +08:00
parent f930daeff4
commit 82766d0e09
35 changed files with 199 additions and 132 deletions

View File

@ -1,18 +1,25 @@
/*****
/*
宠汪汪喂食(如果喂食80g失败降级一个档次喂食40g,依次类推),三餐,建议一小时运行一次
更新时间2020-11-03
支持京东多个账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
****/
// quantumultx
// [task_local]
// #京东宠汪汪喂食
// 15 */1 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js, tag=京东宠汪汪喂食, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
// Loon
// [Script]
// cron "15 */1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js,tag=京东宠汪汪喂食
// Surge
// 京东宠汪汪喂食 = type=cron,cronexp="15 */1 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js
==============Quantumult X==============
[task_local]
#京东宠汪汪喂食
15 0-23/1 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js, tag=京东宠汪汪喂食, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
==============Loon===============
[Script]
cron "15 0-23/1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js,tag=京东宠汪汪喂食
=========Surge=============
[Script]
京东宠汪汪喂食 = type=cron,cronexp="15 0-23/1 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js
===============小火箭==========
京东宠汪汪喂食 = type=cron,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js, cronexpr="15 0-23/1 * * *", timeout=3600, enable=true
*/
const $ = new Env('宠汪汪🐕喂食');
const notify = $.isNode() ? require('./sendNotify') : '';