alseambusher / crontab-ui

Easy and safe way to manage your crontab file
https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html
MIT License
2.91k stars 480 forks source link

Can't run bash scripts. #205

Closed opentree27 closed 2 years ago

opentree27 commented 2 years ago

Trying to run a bash script but keep getting /bin/sh: "path to script": not found. I am running in a docker container on truenas scale. I have tried setting the environment variable SHELL to /bin/bash in gui and cli and on the WebUI as mentioned in #151 but I still get the same error. Any known ways to fix this?

Make sure these boxes are checked( - [x] ) before submitting an issue.

alseambusher commented 2 years ago

That probably means that crontab is not able to find the script and not related to the shell as such. Can you try giving absolute path?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.