How to upgrade FEJ to a new version
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.
How to configure session schedule that can't be defined via single cron-expression.
FIXEdge Java 1.8.0 and earlier don'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:
- Saturday: 6PM – 7PM ET
- Sunday: 10AM – 11AM ET
- Sunday: 6PM – 7PM ET
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 request passing 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 crontab that will start the session at 7 PM Sat and 11 AM Sun:
It is needed to add 2 additional commands to crontab that will stop the session at 11 AM Sun and 6 PM Sun
Optionally for Windows remote host, you can use the plink tool (which is part of the PuTTY package):