User bio
404 bio not found
Member since Aug 24, 2016
Posts:
Replies:
Hi,
instead of : path = "export HOME=/tmp && unset LD_LIBRARY_PATH && soffice"
you can use path = "export HOME=
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.
Certifications & Credly badges:
Jean-Luc has no Certifications & Credly badges yet.
Global Masters badges:
![Open Sesame!](https://community.intersystems.com/sites/default/files/badges/303371180-6de11138-f4e7-4113-b5cc-836269f07693.png)
![1,000 Points](https://community.intersystems.com/sites/default/files/badges/290121674-53216c4b-fe0c-44e7-9d75-2f24390135ed.png)
![Challenge Starter](https://community.intersystems.com/sites/default/files/badges/295959213-b83dd91a-663f-4f07-8e0e-e3287b7c2309.png)
![DC Author](https://community.intersystems.com/sites/default/files/badges/dc_author_0.png)
![DC Commenter](https://community.intersystems.com/sites/default/files/badges/dc_commenter_1.png)
Followers:
Jean-Luc has no followers yet.
Following:
Jean-Luc has not followed anybody yet.
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.log
exec >> $SNAPLOG
exec 2>&1
# From here everything will be written in the log file without needing to use the redirection command ( > / >> )