Not an issue, just need help to get this thing working. #676
Replies: 2 comments
-
This is not an issue, so I'm moving it to a discussion. |
Beta Was this translation helpful? Give feedback.
-
You can use the built-in Shell Plugin to execute arbitrary shell commands, and Cronicle does capture and log the output for you. You will have to download the python file from your private GitHub repo yourself tho. This is out of the scope of what Cronicle can do itself. ChatGPT tells me you can do this in a shell script: curl -H "Authorization: token $TOKEN" \
-H 'Accept: application/vnd.github.v3.raw' \
-o my-file.py \
-L https://api.github.com/repos/my-username/my-repo/contents/my-file-path.ext?ref=my-branch
python my-file.py
rm my-file.py Remember to replace |
Beta Was this translation helpful? Give feedback.
-
How to setup a job which will run daily at 1pm. This job should execute a python file which is in a private github repo. Also, is there a terminal kind of thing which would help me to see the output of that python file?
Beta Was this translation helpful? Give feedback.
All reactions