With Crontab I tried to install the tk10x server module after reboot and every minute

* / 1 * * * * vmware /usr/local/OpenGTS_2.5.6/bin/runserver.sh -s tk10x.

To which the logs get an error every time:

ERROR: GTS_HOME not defined.

Moreover, manually the module starts without problems, $GTS_HOME was registered in Bash. The same problem with other startup methods (for example, adding to init.d ). What could be the reason?

  • GTS_HOME was registered - so add the same, for example, to the called file ( /usr/local/OpenGTS_2.5.6/bin/runserver.sh ). - aleksandr barakin
  • Thanks, it helped - Ilya Nazarko

0