Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
This script will need to be run every time you add a new connection to RED, so that the Scheduler Profile is kept in-sync. The subsequent times you run this script the UI will be prepopulated with any existing records in the "redadmin"."ws_scheduler_profile" so that you do not have to re-enter them but allows updating any records as required.

Running the script stand-alone

If you prefer to run the script stand-alone outside of RED then you will need to set these environment variables prior to running the script:

Code Block
languagepowershell
titleExample env. variable setup in PowerShell
$ENV:WSL_BINDIR='C:\Program Files\WhereScape\RED'
$ENV:WSL_META_DSN='red10_200_sf'
$ENV:WSL_META_USER='redadmin_user' 
$ENV:WSL_META_PWD='mypass' 
$ENV:WSL_META_CONSTRING='dsn=red10_200_sf;uid=redadmin_user;pwd=mypass;'