mirror of https://github.com/KingRan/KR.git
parent
50ffad3dcc
commit
7d7c1a70d0
|
@ -21,6 +21,9 @@ cron "10 5,17 * * *" script-path=jd_fruit_friend.js,tag=东东农场好友删减
|
|||
=========================小火箭===========================
|
||||
东东农场好友删减奖励 = type=cron,script-path=jd_fruit_friend.js, cronexpr="10 5,17 * * *", timeout=3600, enable=true
|
||||
|
||||
每号间隔(毫秒),默认0毫秒(0分钟)
|
||||
export fruit_sleep=20000
|
||||
|
||||
*/
|
||||
const $ = new Env('东东农场好友删减奖励');
|
||||
let cookiesArr = [], cookie = '', isBox = false, notify,allMessage = '';
|
||||
|
@ -88,6 +91,9 @@ let llhelp=true;
|
|||
$.retry = 0;
|
||||
await jdFruit();
|
||||
}
|
||||
if ($.isNode()) {
|
||||
process.env.fruit_sleep ? await $.wait(Number(process.env.fruit_sleep)) : ''
|
||||
}
|
||||
}
|
||||
if ($.isNode() && allMessage && $.ctrTemp) {
|
||||
await notify.sendNotify(`${$.name}`, `${allMessage}`)
|
||||
|
|
|
@ -23,6 +23,9 @@ cron "20 4,16 * * *" script-path=jd_fruit_help.js,tag=东东农场内部互助
|
|||
|
||||
export DO_TEN_WATER_AGAIN="" 默认再次浇水
|
||||
|
||||
每号间隔(毫秒),默认0毫秒(0分钟)
|
||||
export fruit_sleep=20000
|
||||
|
||||
*/
|
||||
const $ = new Env('东东农场内部水滴互助');
|
||||
let cookiesArr = [],
|
||||
|
@ -107,6 +110,9 @@ let llhelp=true;
|
|||
$.retry = 0;
|
||||
await jdFruit();
|
||||
}
|
||||
if ($.isNode()) {
|
||||
process.env.fruit_sleep ? await $.wait(Number(process.env.fruit_sleep)) : ''
|
||||
}
|
||||
}
|
||||
if ($.isNode() && allMessage && $.ctrTemp) {
|
||||
await notify.sendNotify(`${$.name}`, `${allMessage}`)
|
||||
|
|
Loading…
Reference in New Issue