Replies: 1 comment 4 replies
-
That will probably work, but it may be better to use the fully-qualified path to your python3 binary, e.g. Doing it this way ensures that it will always be able to find the binary, even if the
Hmmm, I don't know what any of this stuff is. But I can tell you this: I'm assuming you're using the Shell Plugin based on your previous question. So, Cronicle just creates a temp script file, and launches it. It's up to you to issue the correct commands inside that script. Since you are inling the python code directly, it would be the same as creating a temp file called To make things simpler, maybe just create a shell script instead? Then launch your python from inside the shell script? |
Beta Was this translation helpful? Give feedback.
-
Hi there. I am currently developing a series of python scripts to reach into S3 and do some CSV insertion into our DB. My thing is, I want to use them in Cronicle for ease of use and scheduling. I have
#!/usr/bin/env python3
at the top of the script, is that all that is needed?I also have another python file with login credentials that I have stored on the local box. I have it being called
from creds_prod import HOST, PORT, USER, PASSWORD
but it is reliant on having this file in the same directory as the script calling it. How would I do that in Cronicle?Beta Was this translation helpful? Give feedback.
All reactions