Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #942
Closed
Open
Issue created May 15, 2018 by Administrator@rootContributor

Support more interval definitions for repeatable jobs

Created by: cuchi

Hi!

We are currently migrating from agenda, but there is this little problem keeping us from doing that. The cron notation is a very good idea to schedule repeatable jobs, but there are cases it is impossible to use, like representing an interval definition of every 90 minutes.

To support this, RepeatOpts could be modified to accept other formats besides cron, which could be:

  • How many seconds or millis, like in setInterval
  • A string to be parsed by human-interval, which is used by agenda

I do not know the complexity of this enhancement, but it could be a good idea for the next feature release, what do you think?

Maybe related to #912 (closed)

Assignee
Assign to
Time tracking