1 Star 1 Fork 10

zhaosongbing/G49shouting

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
template.yml 4.68 KB
一键复制 编辑 原始数据 按行查看 历史
2368693074 提交于 2021-03-09 12:14 . Add files via upload
# see https://help.aliyun.com/document_detail/140283.html
# see https://github.com/alibaba/funcraft/blob/master/docs/specs/2018-04-03-zh-cn.md
# 阿里云函数计算
# 执行时长不得超过600秒
ROSTemplateFormatVersion: '2015-09-01'
Transform: 'Aliyun::Serverless-2018-04-03'
Resources:
local-asm:
Type: 'Aliyun::Serverless::Service'
Properties:
Description: '阿里云函数计算'
task1:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
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:
Type: Timer
Properties:
CronExpression: '0 10 9-10 * * *'
Enable: true
task2:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'dailygameflow'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 7-23 * * *'
Enable: true
task3:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'dailygameIntegral'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 7-23 * * *'
Enable: true
task4:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'gameYearBox'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 21-22 * * *'
Enable: true
task5:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'todayDailyTask'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 22 * * *'
Enable: true
task6:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'dailyOtherRewardVideo'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 22 * * *'
Enable: true
task7:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'exchangeDFlow'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 1 0 * * *'
Enable: true
task8:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: tscf.main_handler
CodeUri: './'
Description: 'auto-sign-matchine'
Runtime: nodejs12
Timeout: 600
EnvironmentVariables:
cmd: 'unicom'
config: 'default.json'
tasks: 'exchangeDFlowCircle'
Events:
timer:
Type: Timer
Properties:
CronExpression: '0 0/30 1-23 * * *'
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