The 'getrulebase.cmd' file works if I run it manually, but does not work when left to run by itself. Why?

You may want to try putting the full path to the getRulebase.cmd script in your configuration file. It is possible that SNFServer can't find the script in it's local working directory or may not be able to resolve it depending upon your environment.

For example, if your workspace, rulebase and getRulebase.cmd are in c:\snf\ then you would use:

<update-script on-off='on' call='c:\SNF\getRulebase.cmd' guard-time='180'/>

Be sure that the getRulebase.cmd script has been adjusted properly (probably has since you report it's working when you launch it directly).

Be sure that the permissions on the getRulebase.cmd script are correct so that the SNFServer engine will have permission to launch the script.

Related Topics