mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
定时任务支持多个定时规则
This commit is contained in:
1 parent
042d7d3b8e
commit
acc7443004
17 files changed
+305
-274
No files matched your search
@@ -7,10 +7,13 @@ service Cron {
|
||||
rpc delCron(DeleteCronRequest) returns (DeleteCronResponse);
|
||||
}
|
||||
|
||||
message ISchedule { string schedule = 1; }
|
||||
|
||||
message ICron {
|
||||
string id = 1;
|
||||
string schedule = 2;
|
||||
string command = 3;
|
||||
repeated ISchedule extra_schedules = 4;
|
||||
}
|
||||
|
||||
message AddCronRequest { repeated ICron crons = 1; }
|
||||
|
||||
Reference in new issue
Block a user