2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-08-19 15:08:55 +08:00

Update docs for periodic tasks feature

This commit is contained in:
Ken Hibino
2020-10-12 06:47:43 -07:00
parent 4ae73abdaa
commit 1f059eeee1
5 changed files with 28 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ func prevEnqueue(prevEnqueuedAt time.Time) string {
return fmt.Sprintf("%v ago", time.Since(prevEnqueuedAt).Round(time.Second))
}
// TODO: Paginate the result set.
func cronHistory(cmd *cobra.Command, args []string) {
r := createRDB()
for i, entryID := range args {