mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #644] [CLOSED] Support cronspec seconds field #1812
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/644
Author: @acaloiaro
Created: 4/12/2023
Status: ❌ Closed
Base:
master← Head:add-cronspec-seconds-field-support📝 Commits (1)
d875dfaSupport cronspec seconds field📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
scheduler.go(+1 -1)📄 Description
This is related to #447
As a user it can be surprising to discover how to specify asynq tasks with second-level resolution.
This extends the cronspec parser to support the seconds field. Currently, cronspecs must be specified with the
@every Xsformat when they're to be run more frequently than every minute.This PR permits the 6th cronspec field (seconds) to be used when specifying periodic asynq tasks.
E.g.
@every 1s->* * * * * *@every 30s->*/30 * * * * *🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.