It is very simple to upgrade FEJ. First, download the new version of FEJ and unzip it (see Quick start). Then, replace all files and directories in your FEJ home directory, except /conf directory. All custom user configurations are saved in /conf, therefore the upgrade will not affect personal settings.
FIXEdge Java 1.8.0 and earlier doesn't support several schedules for the session. So there is a limitation preventing creating a session schedule requiring multiple cron expressions.
For example, the session should have the next maintenance windows:
To achieve this the user can configure a weekly session with start at 7 PM Sun and stop at 6 PM Sat. And cover the rest time intervals via external tools and scripts (FIXEdge JAVA administration shell CLI) that can start the session remotely.
FIXEdeg Java Administrative shell requests passing of a password to it. Before using it as part of the script, the user should at least once connect to the administrative shell and save SSH keys and insert a password manually. |
Crontab scripts examples for credentials:
username - test
password - test
remote host - fixedgej.sever.com:2000
session name - session1
It is needed to add 2 additional commands to the crontab that will start the session at 7 PM Sat and 11 AM Sun:
sshpass -p test ssh -t test@fixedgej.sever.com -p 2000 'session start session1' |
It is needed to add 2 additional commands to the crontab that will stop the session at 11 AM Sun and 6 PM Sun
sshpass -p test ssh -t test@fixedgej.sever.com -p 2000 'session start session1' |
sshpass tool is installed on the administrative host. |
Optionally for Windows remote host, you can use the plink tool (which is part of the PuTTY package):
plink.exe fixedgej.sever.com -P 2000 -l test -pw test -batch -t session start session1 |