mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-15 19:57:07 +08:00
* fix: harden task lifecycle and scheduler readiness * fix: confine log writes to the configured log directory * fix: verify complete build artifacts and untracked inputs * fix: reconcile scheduler state and make stop win startup races * fix: isolate cron generations and serialize scheduler recovery
30 lines
556 B
Protocol Buffer
30 lines
556 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package com.ql.cron;
|
|
|
|
service Cron {
|
|
rpc addCron(AddCronRequest) returns (AddCronResponse);
|
|
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;
|
|
string name = 5;
|
|
}
|
|
|
|
message AddCronRequest {
|
|
repeated ICron crons = 1;
|
|
bool replace = 2;
|
|
}
|
|
|
|
message AddCronResponse {}
|
|
|
|
message DeleteCronRequest { repeated string ids = 1; }
|
|
|
|
message DeleteCronResponse {}
|