Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron jobs and events #95

Open
jeroenrinzema opened this issue Jul 8, 2020 · 0 comments
Open

Cron jobs and events #95

jeroenrinzema opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jeroenrinzema
Copy link
Contributor

jeroenrinzema commented Jul 8, 2020

Flows should be able to be triggered by events and cron jobs. Events and cron jobs should be modules passed to Semaphore. This allows for multiple modules being developed and the ability to develop specific modules for specific environments.
Below is some proposed syntax. The final syntax is not decided yet.

event "SendEmail" "nats" "orders" {
  // additional options could be passed over here
}

cron "SendEmail" "0 * * * *" {
  // additional options could be passed over here
}
@jeroenrinzema jeroenrinzema added the enhancement New feature or request label Jul 8, 2020
@jeroenrinzema jeroenrinzema self-assigned this Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant