Unset the TZ to force the Cygwin to use the Windows time.
1. Stop the AlarmNotifier (or your custom AlarmNotifier)
a) Open a bash shell (bash -login)
b) Navigate to the $SPECROOT/bin directory
c) Run:
./cmdC.exe <hostname> 2 ALARMNOTIFIEROR
Run:
./cmdC.exe <hostname> 2 <Custom Alarm Notifier>2. Edit the appropriate Install Ticket file and unset the TZ environment variable.
In the example below, we edit the ALARMNOTIFIER.idb file and set the following:
ENV;TZ=;
3. Restart the Spectrum Process Daemon. Note that the restart will NOT stop the SpectroSERVER application.
a) Open a bash shell (bash -login)
b) Navigate to the $SPECROOT/lib/SDMP/ directory
c) Run: ./processd.pl restart
4. Start the AlarmNotifier (or your custom AlarmNotifier)
a) Open a bash shell (bash -login)
b) Navigate to the $SPECROOT/bin/ directory
c) Run:
./launchinstdbapp.exe <hostname> ALARMNOTIFIER y NOTIFIER.OUTOR
Run:
./launchinstdbapp.exe <hostname> <Custom Alarm Notifier> y <Custom Log file>AlarmNotifier is now displaying the correct time (Windows local time).

