-
Environment variables in par.txt
Hi all,
Just checking here if there is any way to use environment variables in par.txt?
I have a segmented database that is available to multiple servers, and one of the segments is mounted on a different path in each server
e.g. in server A it’s mounted under /path/to/segment_2/…
in server B it’s under /path/to/segment/…
I’ve tried setting the start of the path to a variable and using e.g. ${MOUNT_PREFIX} and getenv[`MOUNT_PREFIX] in par.txt, but there doesn’t seem to be a way to get kdb to resolve these when reading the file.
If this isn’t possible, will most likely use sym links instead.
Thanks,
Eoghan
Log in to reply.