Skip to content
Advertisement

Tag: selinux

Apache executes MATLAB binary on CentOS 7 with SELinux

I am trying to trigger the run of a pre compiled MATLAB program on a CentOSĀ 7 server form within an Apache context. The system allowes the user to upload some files. Then some sanity checks are performed. Then the MATLAB program is called and it performes some MATLAB magic. I installed the MATLAB environment with: I added LD_LIBRARY_PATH to the

Cronjob script isn’t working as expected

I have a script that work perfectly fine when I manually run it by myself, but does not seem to run properly from crontab. The main error is that the (external) environment variables are not being set. I added SHELL=/bin/bash above the cronjob definition but still got the same errors. The script I have copied and pasted below. Cheers for

Advertisement