Run event with different parameters via Chain Reaction #661
Replies: 7 comments
-
Not yet, but I love that idea and I am going to code it up right now. Should be released later tonight. |
Beta Was this translation helpful? Give feedback.
-
Released Cronicle v0.9.38 with this new requested feature implemented. Docs: https://github.com/jhuckaby/Cronicle/blob/master/docs/Plugins.md#chain-params |
Beta Was this translation helpful? Give feedback.
-
Thanks. I'll give a try |
Beta Was this translation helpful? Give feedback.
-
Not sure what I may be doing wrong, but I can seem to get it to work I have a plugin that defines 2 parameters PARAM1 and PARAM2 I have an event1 which does #!/usr/bin/env bash and the chained event (event2) is just But when I run event1 I get this in the log, but the chained event doesn't get run Job ID: jlo3n9tzw04Event Title: Chain event 1Hostname: apchop01.example.comDate/Time: 2023/10/24 12:25:10 (GMT+11)FOO Job completed successfully at 2023/10/24 12:25:10 (GMT+11).End of log. |
Beta Was this translation helpful? Give feedback.
-
You gotta check this box for your Shell Plugin events: |
Beta Was this translation helpful? Give feedback.
-
Perfect. Thanks. |
Beta Was this translation helpful? Give feedback.
-
In the Run Event API, it is possible to provide custom parameters for a specific job, so I can create an event and pass different parameters each time I run that event.
I want to be able to do the same thing via Chain Reaction - that is, pass parameters to the chained event, so I don't have to create a different event for the same thing with different parameters. I know I can pass data between the chained events, but that is not quite the same.
Is it possible to pass a complete Event Data Object via Chain Reaction the same way it can be done via the API?
Beta Was this translation helpful? Give feedback.
All reactions