把短期活动的cron迁移到短期活动区域
This commit is contained in:
@@ -18,11 +18,22 @@
|
|||||||
30 6 * * * node /scripts/jd_immortal.js >> /scripts/logs/jd_immortal.log 2>&1
|
30 6 * * * node /scripts/jd_immortal.js >> /scripts/logs/jd_immortal.log 2>&1
|
||||||
# 京东神仙书院答题(活动时间:2021-1-20至2021-2-5)
|
# 京东神仙书院答题(活动时间:2021-1-20至2021-2-5)
|
||||||
5 1 * * * node /scripts/jd_immortal_answer.js >> /scripts/logs/jd_immortal_answer.log 2>&1
|
5 1 * * * node /scripts/jd_immortal_answer.js >> /scripts/logs/jd_immortal_answer.log 2>&1
|
||||||
# 5G狂欢城
|
# 5G狂欢城(2021-1-30至2021-2-4)
|
||||||
0 */6 * * * node /scripts/jd_5g.js >> /scripts/logs/jd_5g.log 2>&1
|
0 */6 * * * node /scripts/jd_5g.js >> /scripts/logs/jd_5g.log 2>&1
|
||||||
0 */6 * * * node /scripts/jd_818.js >> /scripts/logs/jd_818.log 2>&1
|
0 */6 * * * node /scripts/jd_818.js >> /scripts/logs/jd_818.log 2>&1
|
||||||
# 小鸽有礼2
|
# 小鸽有礼(活动时间:2021年1月15日至2021年2月19日)
|
||||||
|
5 7 * * * node /scripts/jd_xg.js >> /scripts/logs/jd_xg.log 2>&1
|
||||||
|
# 小鸽有礼2(活动时间:2021年1月28日~2021年2月28日)
|
||||||
34 9 * * * node /scripts/jd_xgyl.js >> /scripts/logs/jd_jd_xgyl.log 2>&1
|
34 9 * * * node /scripts/jd_xgyl.js >> /scripts/logs/jd_jd_xgyl.log 2>&1
|
||||||
|
# 京东手机年终奖(活动时间:2021年1月26日~2021年2月8日)
|
||||||
|
15 0 * * * node /scripts/jd_festival.js >> /scripts/logs/jd_festival.log 2>&1
|
||||||
|
# 京东压岁钱(活动时间:2021-2-1至2021-2-11)
|
||||||
|
20 8,12 * * * node /scripts/jd_newYearMoney.js >> /scripts/logs/jd_newYearMoney.log 2>&1
|
||||||
|
# 京东压岁钱抢百元卡(活动时间:2021-2-1至2021-2-11)
|
||||||
|
0 9,12,16,20 * * * node /scripts/jd_newYearMoney.js >> /scripts/logs/jd_newYearMoney.log 2>&1
|
||||||
|
# 盲盒抽京豆(活动时间:2021年1月6日~2021年2月5日)
|
||||||
|
1 7 * * * node /scripts/jd_mh.js >> /scripts/logs/jd_mh.log 2>&1
|
||||||
|
|
||||||
|
|
||||||
##############长期活动##############
|
##############长期活动##############
|
||||||
# 签到
|
# 签到
|
||||||
@@ -111,17 +122,7 @@
|
|||||||
27 8 * * * node /scripts/jd_sgmh.js >> /scripts/logs/jd_sgmh.log 2>&1
|
27 8 * * * node /scripts/jd_sgmh.js >> /scripts/logs/jd_sgmh.log 2>&1
|
||||||
# 源头好物红包
|
# 源头好物红包
|
||||||
0 0 * * * node /scripts/jd_coupon.js >> /scripts/logs/jd_coupon.log 2>&1
|
0 0 * * * node /scripts/jd_coupon.js >> /scripts/logs/jd_coupon.log 2>&1
|
||||||
# 京东手机年终奖
|
|
||||||
15 0 * * * node /scripts/jd_festival.js >> /scripts/logs/jd_festival.log 2>&1
|
|
||||||
# 盲盒抽京豆
|
|
||||||
1 7 * * * node /scripts/jd_mh.js >> /scripts/logs/jd_mh.log 2>&1
|
|
||||||
# 京东秒秒币
|
# 京东秒秒币
|
||||||
10 7 * * * node /scripts/jd_ms.js >> /scripts/logs/jd_ms.log 2>&1
|
10 7 * * * node /scripts/jd_ms.js >> /scripts/logs/jd_ms.log 2>&1
|
||||||
# 小鸽有礼
|
|
||||||
5 7 * * * node /scripts/jd_xg.js >> /scripts/logs/jd_xg.log 2>&1
|
|
||||||
# 京东超级盒子
|
# 京东超级盒子
|
||||||
20 7 * * * node /scripts/jd_super_box.js >> /scripts/logs/jd_super_box.log 2>&1
|
20 7 * * * node /scripts/jd_super_box.js >> /scripts/logs/jd_super_box.log 2>&1
|
||||||
# 京东压岁钱
|
|
||||||
20 8,12 * * * node /scripts/jd_newYearMoney.js >> /scripts/logs/jd_newYearMoney.log 2>&1
|
|
||||||
# 京东压岁钱抢百元卡
|
|
||||||
0 9,12,16,20 * * * node /scripts/jd_newYearMoney.js >> /scripts/logs/jd_newYearMoney.log 2>&1
|
|
||||||
|
@@ -225,6 +225,7 @@ async function jdCrazyJoy() {
|
|||||||
|
|
||||||
for (let i = 0; i < $.joyIds.length; ++i) {
|
for (let i = 0; i < $.joyIds.length; ++i) {
|
||||||
if (!$.canBuy) {
|
if (!$.canBuy) {
|
||||||
|
$.log(`金币不足,跳过购买`)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if ($.joyIds[i] === 0) {
|
if ($.joyIds[i] === 0) {
|
||||||
@@ -261,6 +262,7 @@ async function jdCrazyJoy() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (idx === '34' && vo.length >= 8) {
|
if (idx === '34' && vo.length >= 8) {
|
||||||
|
await getCoin()
|
||||||
if ($.coin >= 6000000000000000) {
|
if ($.coin >= 6000000000000000) {
|
||||||
//当存在8个34级JOY,并且剩余金币可为后面继续合成两只新的34级JOY(按全部用30级JOY合成一只34级JOY计算需:1.66T * 2 * 2 * 2 * 2 = 26.56T = 2.6Q)时,则此条件下合并两个34级JOY
|
//当存在8个34级JOY,并且剩余金币可为后面继续合成两只新的34级JOY(按全部用30级JOY合成一只34级JOY计算需:1.66T * 2 * 2 * 2 * 2 = 26.56T = 2.6Q)时,则此条件下合并两个34级JOY
|
||||||
$.log(`开始合并两只${idx}级joy\n`)
|
$.log(`开始合并两只${idx}级joy\n`)
|
||||||
|
Reference in New Issue
Block a user