mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
Update serverless.yml
This commit is contained in:
parent
b02c00b650
commit
d7397fa57f
@ -18,10 +18,16 @@ inputs:
|
||||
events: # 触发器
|
||||
- timer: # 定时触发器
|
||||
parameters:
|
||||
# name: timer # 触发器名称,默认timer-${name}-${stage}
|
||||
name: jd_bean_sign # 触发器名称
|
||||
cronExpression: "0 0 0 */1 * * *" # 每天零点执行一次
|
||||
enable: true
|
||||
argument: argument # 额外的参数
|
||||
argument: jd_bean_sign # 额外的参数
|
||||
- timer: # 定时触发器
|
||||
parameters:
|
||||
name: jd_blueCoin
|
||||
cronExpression: "0 0 0 */1 * * *" # 每天零点执行一次
|
||||
enable: true
|
||||
argument: jd_blueCoin,jd_club_lottery # 额外的参数
|
||||
environment: # 环境变量
|
||||
variables: # 环境变量对象
|
||||
AAA: BBB # 不要删除,用来格式化对齐追加的变量的
|
||||
|
||||
Loading…
Reference in New Issue
Block a user