代码拉取完成,页面将自动刷新
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,dailyLiuLan,dailycomment,producGameSignin
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: todayDailyTask
events:
- timer:
name: timer
parameters:
cronExpression: '*/30 22 * * *'
enable: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。