-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job failed with error: Script failed: No such file or directory #5
Comments
Hello @ovizii , there are two best practices when I personally use:
|
Ah, I see. Sounds logical and doable, as originally I had a script which I was calling via crontab, so I guess I can just call it with this image then. |
OK, need to add a second question after reading your reply to #6 So you mean, I can just mount a volume into this container which contains the scripts I want to call on the docker host, right? |
I saw this issue was opened again, maybe what's missing here is a simple blog post or best practice :) // Sorry for being overwhelmed by thousands of squeezed issues, did not see the message reminder @ovizii |
@soulteary |
hey, I usually use a webhook software, I remember I pushed a fork project, you can search for it on my personal page. @a-reda |
I am trying my hand at running your image and my first test when using the shell script plugin was to run a simple ping 5x and it works.
Now I am trying to run a slightly more complex script and it fails with this error:
All I can find when googling that is this, but I am not sure how to fix it or if it is my script at fault:
jhuckaby/Cronicle#587
jhuckaby/Cronicle#133
They are talking about the /tmp folder possibly being protected from code being executed, but then why would the first test wit ha simple ping work?
Working example:
![image](https://user-images.githubusercontent.com/837902/232233209-5f2dafbc-8519-4bf8-a2c2-e66403e62f66.png)
Problematic example:
I'd appreciate any pointers.
The text was updated successfully, but these errors were encountered: