Python as a plugin #521
-
Hi, I am very new to this and trying to create a python plugin which would except some parameters. /usr/bin/python3 /usr/local/bin/my_python_file.py The content of my_python_file.py is - print(“hello world”) When I schedule this plugin and run, I do get an output in logs but also the job fails with error “job exited without giving any status” Is there anything I am missing? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
After some more digging I found this repo https://github.com/josephdadams/CroniclePlugins Probably I need to create my plugins like this |
Beta Was this translation helpful? Give feedback.
-
You have to return an exit code in a json structure. Have a look into the examples from Cronicle: https://github.com/jhuckaby/Cronicle#sample-node-plugin My custom python plugins exits with this lines:
|
Beta Was this translation helpful? Give feedback.
You have to return an exit code in a json structure. Have a look into the examples from Cronicle: https://github.com/jhuckaby/Cronicle#sample-node-plugin
My custom python plugins exits with this lines: