Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Cron scheduler #818

Closed
andrzej-k opened this issue Mar 30, 2016 · 0 comments
Closed

Cron scheduler #818

andrzej-k opened this issue Mar 30, 2016 · 0 comments

Comments

@andrzej-k
Copy link
Contributor

Snap shall support a new type of scheduler - cron scheduler - which will allow users to use cron-like syntax to define task interval. For example:

{
    "version": 1,
    "schedule": {
        "type": "cron",
        "interval" : "@every 3s"
    },
    "workflow": {

or

{
    "version": 1,
    "schedule": {
        "type": "cron",
        "interval" : "0 30 * * * *"
    },
    "workflow": {

also

snapctl task create --workflow-manifest --interval

shall also support passing cron-style interval

andrzej-k added a commit to andrzej-k/snap that referenced this issue Mar 30, 2016
andrzej-k added a commit to andrzej-k/snap that referenced this issue Mar 31, 2016
andrzej-k added a commit to andrzej-k/snap that referenced this issue Apr 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants