![]() I am know trying a script reduced to these 2 lines: #!/bin/bashĪnd still the same error log. So even may be an empty script will not run in cron ? I don't get it. To get assurance this was not the content of the script I reduced the script to the following 3 lines: #!/bin/bash ![]() I still don't get the bash script executing. Then listing the CRON error log in my system sudo grep CRON /var/log/syslogįeb 11 18:07:01 Marius-PC CRON: (root) CMD (root /usr/bin/tunlrupdate.sh)įeb 11 18:07:01 Marius-PC CRON: (root) MAIL (mailed 1 byte of output but got I still get this error.Īfter some searching I pinpointed the error in the file /usr/lib/php5/maxlifetime as is explained here: Change #!/bin/sh -e -> #!/bin/sh -x With the suggested PATH= insertion
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |