go to post Jean-Luc Delporte · Oct 11, 2018 On Linux, if your log file is defined inside the script the easiest way to deal with it is to use the exec command:SNAPLOG=$LOGDIR/snapshot.logexec >> $SNAPLOGexec 2>&1# From here everything will be written in the log file without needing to use the redirection command ( > / >> )
go to post Jean-Luc Delporte · May 25, 2018 Hi,instead of : path = "export HOME=/tmp && unset LD_LIBRARY_PATH && soffice"you can use path = "export HOME= $(eval echo ~$(id -u -n)) && unset LD_LIBRARY_PATH && soffice". That way soffice will use the home directory of the cache user running the job. It could be usefull, specialy if you need to add or modify parameters into the registrymodifications.xcu file.