Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


MRomer
2017-08-01T22:11:49Z
How do I use the API to turn tray client notifications on and off? I see the existence of TrayClientSettingsClass, and it looks like the ShowJobStartNotification and ShowJobStopNotification properties are what I want to set, but I can't figure out how to use it to manipulate the local installation. I'm using PowerShell, if that makes a difference.
Sponsor
Forum information
Support
2017-08-02T13:08:19Z
You cannot use the API for this at the moment as the VCTray Client is not a Server object. Moving to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MRomer
2017-08-02T15:08:00Z
OK. Thanks.

Is there some other way I can script it, so that I don't have to walk a remote operator through the manual process ?
Support
2017-08-02T15:41:55Z
You can edit the XML file which contains the settings for VCTray. Normally located here: C:\Users\user\AppData\Local\VisualCron\settings

There you have settings_trayclient.xml

<?xml version="1.0" encoding="utf-8"?>
<TrayClientSettingsClass xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <LogToFile>true</LogToFile>
  <ShowJobStartNotification>false</ShowJobStartNotification>
  <ShowJobStopNotification>false</ShowJobStopNotification>
</TrayClientSettingsClass>


Set the ShowJobStartNotification etc to false.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top