reloading streamSchedule / calling loadSchedule from external application

Hello,

I have set up scheduled streaming with StreamPublisher following the guide from

In total I have 11 separate streams that all run in parallel (start date in the past) and this works fine.

However, I have the need to modify the smil file with the playlists every night automatically. this is being done in a scheduled task, by reading the new video files from the DB and over-writing the smil file. Here is the part where I’m stuck: now I need to reload the schedule by issuing a “loadSchedule” command:

Use JConsole to connect to the JMX interface on your Wowza Media Server, and then run the loadSchedule operation directly on the module instance. In the MBeans tab, navigate to the AppInstance Modules/ModuleStreamPublisher/Instances/Operations tab, and then run the loadSchedule operation. An unloadSchedule operation is also available to shut down the streams.

I’d like to issue the reload notification from either a .net program (if code exists for that) or simply by calling a windows executable/script/java command line app (if possible on another host that the wowza server). Is there any way to do this from either another external application or another scheduled task?

I’ve tried the method from https://www.wowza.com/forums/showthread.php?33852-Reloading-schedules-from-jmx – but I have the same problem as described in there.

The only other way I found so far is by stopping and restarting the Wowza service from a batch file, but that is far from ideal.

thanks!

This question is answered here

Salvadore