Skip to content

Cron style scheduling #115

@davejlong

Description

@davejlong

Feature request for the ability to schedule jobs in a cron style schedule.

Example Use Case

Schedule to post a message in a Text widget every day:

job :scrum, when: "30 9 * * 1-5", for: {15, :minutes} do
  broadcast! :scrum, %{text: "Time for scrum!"}
end

The expected functionality would be that at 9:30 on Monday through Friday the message "Time for scrum!" would be broadcasted to the :scrum event. The for key in the job setup would build a second job that would run 15 minutes later (9:45 Monday through Friday) that would clear the event from the cache allowing the text widget to go back to it's default value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions