Closed AndreiArdelean1 closed 3 years ago
You mean 'Run Now'? This doesn't seem to use cron. That's why its not logging to any files. If you want in logs, have to do it explicitly.
Yes, 'run now' doesn't use crontab, but even so, it should use the environment variables and should log the output otherwise the crontab and the 'run now' would have different behaviors.
Agree with environment vars. For o/p you can do the re-direction by yourself and check. Will look into env vars and check whether it can be fixed quickly! But please do clarify what you mean by environment vars.
Ignore. See that you had modified per your requirement and raised a PR.
I have merged this https://github.com/alseambusher/crontab-ui/pull/138
When running a command manually from the UI it is not logged to file, only to
crontab-ui
stdout. Also, the Environment Variables are not passed to the command.