1 Star 1 Fork 10

zhaosongbing/G49shouting

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
serverless.yml 3.89 KB
一键复制 编辑 原始数据 按行查看 历史
2368693074 提交于 2021-03-09 12:14 . Add files via upload
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaosongbing/G49shouting.git
git@gitee.com:zhaosongbing/G49shouting.git
zhaosongbing
G49shouting
G49shouting
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385