|
6 | 6 | > A lightweight Golang scheduler supporting standard cron expressions, custom descriptors, custom intervals, and task dependencies. Easily write schedules using Go.<br> |
7 | 7 | > Originally designed for [pardnchiu/go-ip-sentry](https://github.com/pardnchiu/go-ip-sentry) to handle threat score decay calculations. |
8 | 8 |
|
9 | | - |
| 9 | +[](https://pkg.go.dev/github.com/pardnchiu/go-cron) |
| 10 | +[](https://goreportcard.com/report/github.com/pardnchiu/go-cron) |
| 11 | +[](https://github.com/pardnchiu/go-cron/releases)<br> |
10 | 12 | [](LICENSE) |
11 | | -[](https://github.com/pardnchiu/go-cron/releases) |
12 | | -<br> |
13 | 13 | [](README.md) |
14 | | -[](README.zh.md) |
| 14 | +[](README.zh.md) |
| 15 | + |
| 16 | +- [Key Features](#key-features) |
| 17 | + - [Flexible Syntax](#flexible-syntax) |
| 18 | + - [Task Dependencies](#task-dependencies) |
| 19 | + - [Efficient Architecture](#efficient-architecture) |
| 20 | +- [Flowcharts](#flowcharts) |
| 21 | +- [Dependencies](#dependencies) |
| 22 | +- [Usage](#usage) |
| 23 | + - [Installation](#installation) |
| 24 | + - [Initialization](#initialization) |
| 25 | + - [Basic Usage](#basic-usage) |
| 26 | + - [Task Dependencies](#task-dependencies-1) |
| 27 | +- [Configuration](#configuration) |
| 28 | +- [Supported Formats](#supported-formats) |
| 29 | + - [Standard](#standard) |
| 30 | + - [Custom](#custom) |
| 31 | +- [Available Functions](#available-functions) |
| 32 | + - [Scheduler Management](#scheduler-management) |
| 33 | + - [Task Management](#task-management) |
| 34 | +- [Task Dependencies](#task-dependencies-2) |
| 35 | + - [Basic Usage](#basic-usage-1) |
| 36 | + - [Task States](#task-states) |
| 37 | +- [Timeout Mechanism](#timeout-mechanism) |
| 38 | + - [Features](#features) |
| 39 | +- [Upcoming Features](#upcoming-features) |
| 40 | + - [Enhanced Task Dependencies](#enhanced-task-dependencies) |
| 41 | + - [Task Completion Trigger Rewrite](#task-completion-trigger-rewrite) |
| 42 | +- [License](#license) |
| 43 | +- [Star](#star) |
| 44 | +- [Author](#author) |
15 | 45 |
|
16 | 46 | ## Key Features |
17 | 47 |
|
@@ -120,8 +150,15 @@ flowchart TD |
120 | 150 | ## Usage |
121 | 151 |
|
122 | 152 | ### Installation |
| 153 | + |
| 154 | +> [!NOTE] |
| 155 | +> Latest commits may change. Recommended to use tagged versions.<br> |
| 156 | +> Commits containing only documentation updates or non-functional changes will be rebased later. |
| 157 | +
|
123 | 158 | ```bash |
124 | | -go get github.com/pardnchiu/go-cron |
| 159 | +go get github.com/pardnchiu/go-cron@[VERSION] |
| 160 | + |
| 161 | +git clone --depth 1 --branch [VERSION] https://github.com/pardnchiu/go-cron.git |
125 | 162 | ``` |
126 | 163 |
|
127 | 164 | ### Initialization |
@@ -436,6 +473,10 @@ When execution time exceeds the configured `Delay`: |
436 | 473 |
|
437 | 474 | This project is licensed under [MIT](LICENSE). |
438 | 475 |
|
| 476 | +## Star |
| 477 | + |
| 478 | +[](https://www.star-history.com/#pardnchiu/go-cron&Date) |
| 479 | + |
439 | 480 | ## Author |
440 | 481 |
|
441 | 482 | <img src="https://avatars.githubusercontent.com/u/25631760" align="left" width="96" height="96" style="margin-right: 0.5rem;"> |
|
0 commit comments