Comments (2)
配置有错,环境变量 Ray_DailyTaskConfig__DayOfReceiveVipPrivilege 是重复的。
from bilibilitoolpro.
`# https://github.com/serverless-components/tencent-scf/blob/master/docs/configure.md
#组件信息
component: scf
name: bilibili_tool
#组件参数配置
inputs:
name: ${name}_scf
enableRoleAuth: false
src: ./bin/publish/
handler: index.main_handler
runtime: CustomRuntime
region: ap-guangzhou # 函数所在区域,默认广州ap-hongkong-2
description: This is a function in ${app} application.
memorySize: 128
initTimeout: 30
timeout: 86400
asyncRunEnable: true
traceEnable: true
events: # 根据自己的需要修改
- timer: # 每日任务 触发器
parameters:
name: DailyTask
cronExpression: "0 30 12 * * * *"
enable: true
argument: Daily
- timer: # 天选抽奖触发器
parameters:
name: LiveLotteryTask
cronExpression: "0 0 */4 * * * *"
enable: true
argument: LiveLottery
- timer: # 自动取关
parameters:
name: UnfollowBatchedTask
cronExpression: "0 0 0 * * MON *"
enable: true
argument: UnfollowBatched
environment:
variables: # 根据自己的需要修改
Ray_BiliBiliCookies__1: @@@@@@@
Ray_Security__RandomSleepMaxMin: 30
Security__IntervalSecondsBetweenRequestApi: 15
Ray_Security__IntervalMethodTypes:
Ray_Security__UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Ray_DailyTaskConfig__NumberOfCoins: 5
Ray_DailyTaskConfig__SelectLike: true
Ray_DailyTaskConfig__DayOfAutoCharge: -1
Ray_DailyTaskConfig__AutoChargeUpId: -1
Ray_DailyTaskConfig__DayOfReceiveVipPrivilege: 1
Ray_Serilog__WriteTo__3__Args__chatId: @@@@@@@
Ray_Serilog__WriteTo__3__Args__botToken: @@@@@@@
Ray_UnfollowBatchedTaskConfig__Count: 10
Ray_DailyTaskConfig__DayOfReceiveVipPrivilege: 19 # 会员权益日期
Ray_DailyTaskConfig__SupportUpIds: -1
Ray_UnfollowBatchedTaskConfig__Count: 10
`
from bilibilitoolpro.
Related Issues (20)
- 青龙上运行异常,需要优化在青龙部署的方式 HOT 13
- 【Bug】大会员任务异常报错 HOT 2
- 【Bug】企业微信信息推送失败 HOT 4
- 【建议】大佬可以更新下微信群和tg群吗 HOT 1
- 【建议】增加说明青龙bark的推送方法 HOT 3
- 【Bug】扫码登录任务提示:程序异常终止,原因:第 1 个cookie不存在 HOT 6
- 【Bug】青龙面板定时运行脚本,机器就会死 HOT 8
- 【建议】关于直播挂时长的INF日志的精简 HOT 1
- 【异常】运行登录脚本报错 HOT 3
- 【Bug】青龙2.12.2脚本跑不起来,所有除拉库 HOT 2
- 【Bug】面具青龙模块解决不能运行脚本方法 HOT 16
- 【Bug】青龙 cron 运行报错找不到 dotnet HOT 14
- 运行任务报错 No such file or directory HOT 1
- 【建议】重新规范issues模板,尤其针对青龙用户
- 【公告】TG交流群组 HOT 2
- 【Bug】bili_task_daily.sh: line 6: cd: ./src/Ray.BiliBiliTool.Console: No such file or directory HOT 3
- Couldn't find a project to run ,请问这个问题该如何解决? HOT 2
- 如何卸载dotnet环境 HOT 1
- 【Bug】【青龙】<青龙版本低于2.12无法正常运行,关于文件路径问题> HOT 2
- 【建议】将腾讯云代码,教程更为阿里云 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilibilitoolpro.