proxy.golang.org : github.com/go-god/runner
* Package runner is used to execute program task operations in sequence, which can be used as cron job or timing task. The runner package can be used to show how to use the channel to monitor the execution time of the program. If the program runs for too long, specify the task execution time. This program may be executed as a cron job, or executed in a cloud environment based on scheduled tasks (such as iron.io). Supplementary note: It may be used as a cron job or based on a timing task, which can control the execution time of the program Use channels to monitor the execution time, life cycle, and even terminate the program. Our program is called runner, we can call it the executor. It can perform any task in the background, and we can also control the executor, such as forcibly terminating it, etc. In addition, this executor is also a very good mode. For example, after we write it, we can hand it over to the timing task to execute it. For example, cron, in this mode we can also extend more efficient concurrency, more flexible control of the life cycle of the program More efficient monitoring, etc.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/go-god/runner
License: MIT
Latest release: about 4 years ago
First release: about 4 years ago
Namespace: github.com/go-god
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago