Disable Check for Updates

Besides of explicitly checking for updates either in SNAP Desktop or via the command line, it is also possible to disable the update check. How to do it in SNAP Desktop is obvious. For disabling it on the command line you can follow the steps below

1. Disable Check for Modules-Updates in SNAP Desktop

The check for module updates in SNAP Desktop can be disabled by settings the following property:

-J-Dplugin.manager.check.interval=NEVER

This must be added into the etc/snap.conf file to the default_options parameter. Possible values for this parameter are: EVERY_STARTUP, EVERY_DAY, EVERY_WEEK, EVERY_2WEEKS, EVERY_MONTH, NEVER

Finally, it would look like this:

# Options used by the launcher by default, can be overridden by explicit command line switches
default_options="--branding snap --locale en_GB -J-XX:+AggressiveOpts -J-Xverify:none -J-Xms256M -J-Xmx11G -J-Dplugin.manager.check.interval=NEVER -J-Dnetbeans.mainclass=org.esa.snap.main.Main -J-Dsun.java2d.noddraw=true -J-Dsun.awt.nopixfmt=true -J-Dsun.java2d.dpiaware=false"


2. Disable Check for Updates in GPT


There is a second update check. This checks only for new major releases (e.g. 8.0) and displays a notification.

snap.versionCheck.interval=NEVER

This property can be added to the etc/snap.properties file. Possible values for this parameter are: ON_START, DAILY, WEEKLY, MONTHLY, NEVER.

Additionally, it is possible to add it to the gpt command-line call:

gpt OPERATOR_NAME -Dsnap.versionCheck.interval=MONTHLY ...