add schedule for add whitelist
This commit is contained in:
parent
72d1a1df25
commit
36b6f429a1
@ -451,6 +451,38 @@
|
||||
"end": "2025-01-01 00:00",
|
||||
"checkChain": false,
|
||||
"params": { "time": 6, "failRate": 0 }
|
||||
},
|
||||
{
|
||||
"id": "g3cnan1c1e2nxd8vjng",
|
||||
"task": "TwitterRetweet",
|
||||
"title": "RT - Miffy Gameplay",
|
||||
"type": 1,
|
||||
"desc": "Retweet specific tweets",
|
||||
"category": "Social Tasks",
|
||||
"score": 50,
|
||||
"autoclaim": false,
|
||||
"pretasks": ["e2yhq2lj30vwcpedv7p"],
|
||||
"cfg": { "icon": "twitter", "content": "1792552664167002178"},
|
||||
"start": "2024-01-01 00:00",
|
||||
"end": "2025-01-01 00:00",
|
||||
"checkChain": false,
|
||||
"params": { "time": 6, "failRate": 0 }
|
||||
},
|
||||
{
|
||||
"id": "g35pcbvjv63j6ra3yzm",
|
||||
"task": "TwitterLike",
|
||||
"title": "Like - Miffy Gameplay",
|
||||
"type": 1,
|
||||
"desc": "Like specific tweets",
|
||||
"category": "Social Tasks",
|
||||
"score": 50,
|
||||
"autoclaim": false,
|
||||
"pretasks": ["e2yhq2lj30vwcpedv7p"],
|
||||
"cfg": { "icon": "twitter", "content": "1792552664167002178"},
|
||||
"start": "2024-01-01 00:00",
|
||||
"end": "2025-01-01 00:00",
|
||||
"checkChain": false,
|
||||
"params": { "time": 6, "failRate": 0 }
|
||||
}
|
||||
],
|
||||
"drawTime": 1715245160457,
|
||||
|
@ -27,5 +27,5 @@ const addRewards = async (type: number) => {
|
||||
schedule.scheduleJob('0 2,4,6,8,10,12,14,16,18,20 * * *', async () => {
|
||||
await addRewards(1)
|
||||
})
|
||||
addRewards(1)
|
||||
// addRewards(1)
|
||||
})()
|
||||
|
22
start_reward.json
Normal file
22
start_reward.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"apps": [
|
||||
{
|
||||
"name": "draw_schedule",
|
||||
"script": "npm",
|
||||
"args": "run prod:reward",
|
||||
"cwd": "/data/apps/activity-202404",
|
||||
"max_memory_restart": "1024M",
|
||||
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
||||
"watch": false,
|
||||
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
||||
"instances": 1,
|
||||
"exec_mode": "fork",
|
||||
"env": {
|
||||
"NODE_ENV": "production"
|
||||
},
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user