I want to create a one-off job calling test.py but I can’t get it to work.
My serviceId and bearer are correct, but the script always exits with status 2.
test.py only contains print(“good”) and I have tried all possible paths between /opt/render/project/src/test.py and test.py.
if i run the startCommande directly from the shell, it works.
I’d be curious to know what you see if your run a job with a startCommand of which python and compare that to what you have in the shell.
It could be helpful to have some specific information about your service. If you could share a service ID, that would be helpful. Feel free to open if you don’t want to share that information in a public forum.