Open zengzhengrong opened 11 months ago
Thanks for these suggestions!
I looked at your fork and I think the WithSeconds
option is a good idea. Do you want to open a PR?
I am not so sure about exporting runJob()
because exposing this as part of the library API could become fragile later. A manual job run is possible, if you start the Goflow engine and send a request to the web API with POST /api/jobs/{jobname}/submit
.
Thanks for these suggestions!
I looked at your fork and I think the
WithSeconds
option is a good idea. Do you want to open a PR?I am not so sure about exporting
runJob()
because exposing this as part of the library API could become fragile later. A manual job run is possible, if you start the Goflow engine and send a request to the web API withPOST /api/jobs/{jobname}/submit
.
It is necessary to export a runJob, flow job is written in go code, and in some cases, run one job done and finally to execute another job,use web api is uselessness cost
OK, thanks for the clarification. I am currently working on a v3 release and I will evaluate whether this can be a feature in that release.
I need cron second job and manually run job