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

specify a script to be run once job is done (once) #15

Open
seamusabshere opened this issue Jul 17, 2019 · 2 comments
Open

specify a script to be run once job is done (once) #15

seamusabshere opened this issue Jul 17, 2019 · 2 comments
Labels
enhancement New feature or request faraday Requested by Faraday

Comments

@seamusabshere
Copy link
Member

idea credit to @n1ywb

@seamusabshere seamusabshere added the enhancement New feature or request label Jul 17, 2019
@emk
Copy link
Contributor

emk commented Jul 18, 2019

Could you please explain the use case here? Do you want to run a shell script after dbcrossbar finishes? If so, why couldn't you just wait for dbcrossbar to exit, look at the status code, and run whatever script or binary you want?

@seamusabshere
Copy link
Member Author

(this is for falconeri, not dbcrossbar)

basically you provide 2 commands to falconeri:

  • transform
  • finish

transform may run many times on many datums.

finish runs only once - probably with no file inputs, it just gives you an opportunity to (for example) send a "job.completed" queue message

@emk emk added the faraday Requested by Faraday label Jan 26, 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 faraday Requested by Faraday
Projects
None yet
Development

No branches or pull requests

2 participants