1 Star 1 Fork 0

1343001800 / 88-AutoSignMachine3040

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
serverless.yml 3.89 KB
一键复制 编辑 原始数据 按行查看 历史
xsp1343001800 提交于 2021-04-15 03:48 . update
service: auto-sign-matchine
provider: # provider information
name: tencent
runtime: Nodejs12.16 # Nodejs8.9 or Nodejs6.10
credentials: ~/credentials
# you can overwrite defaults here
# stage: dev
# cosBucket: DEFAULT
# role: QCS_SCFExcuteRole
# memorySize: 256
# timeout: 10
# region: ap-shanghai
# environment:
# variables:
# ENV_FIRST: env1
# ENV_SECOND: env2
# vpcConfig:
# vpcId: test
# subnetId: test
plugins:
- serverless-tencent-scf
# you can add packaging information here
#package:
# include:
# - include-me.js
# - include-me-dir/**
# exclude:
# - exclude-me.js
# - exclude-me-dir/**
# 免费用户执行时长不得超过900秒
functions:
task1:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: dailysignin,winterTwo,dxIntegralEveryDay,dailygamebox,dailylotteryintegral,dailywoTree,dailyBookRead,dailyBookMemberDay,dailyRedbagRainVideoIntegral,dailyRedbagRain,dailyBookVideo,dailyBookLuckdraw,dailyLiuLan,dailyScratchCard,dailyNcow,dailyGrabdollPage,jflottery,dailyYYY,dailyVideoScratchcard,dailyLKMH,dailyYYQ,dailyVideo,dailylottery,producGameSignin,dailycomment,dailyBookAnswer,newYearUserSign,dailyFingerSign,dailyIngots,dailyShopVideoIntegral,dailyPackageIntegral,dailyUnicomTask,olympicgame,dailyClubLottery
events:
- timer:
name: timer
parameters:
cronExpression: '10 9-10 * * *'
enable: true
task2:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: dailygameflow
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 7-23 * * *'
enable: true
task3:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: dailygameIntegral
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 7-23 * * *'
enable: true
task4:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: gameYearBox
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 21-22 * * *'
enable: true
task5:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: todayDailyTask
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 22 * * *'
enable: true
task6:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: dailyOtherRewardVideo
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 22 * * *'
enable: true
task7:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: exchangeDFlow
events:
- timer:
name: timer
parameters:
cronExpression: '1 0 * * *'
enable: true
task8:
handler: tscf.main_handler
runtime: Nodejs12.16
memorySize: 256
timeout: 900
environment:
variables:
cmd: unicom
config: default.json
tasks: exchangeDFlowCircle
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 * * * *'
enable: true
1
https://gitee.com/chixo/AutoSignMachine-88-3040.git
git@gitee.com:chixo/AutoSignMachine-88-3040.git
chixo
AutoSignMachine-88-3040
88-AutoSignMachine3040
main

搜索帮助