# Load Schedule StreamSchedule.smil by command line

**URL:** https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386
**Category:** Wowza Streaming Engine
**Created:** [July 9, 2014, 8:06am UTC](https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386 "2014-07-09T08:06:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)
#### Post date: [July 9, 2014, 8:06am UTC](https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386/1 "2014-07-09T08:06:38Z")

</div>

Hi

I just finished developing a web based filtering system for 24/7 live tv. What the system do is actually play a specific mp4 video on specific time.

01.00-02.00 AM play myStream.stream

02.00-02.30 AM play mp4:sample.mp4

02.30-03.00 AM play myStream.stream

The web based system store the schedules in mySQL database an I’ve write a script to generate streamschedule.smil via cron job.

To test the streamschedule.smil, I will use the provided LoadSchedule.html by Wowza.

What if I want to reload the schedule via command line in Linux ?

Or it’s safe to say that user that play the stream after streamscheduled was updated will get the new schedule ?

Thank you

===================

azril nazli alias

azril [at] stream.my

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [July 8, 2014, 10:15pm UTC](https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386/2 "2014-07-08T22:15:49Z")

</div>

Hi,

Take a look at the last three or four posts in [this thread](http://community.wowza.com/t/-/42255)

which should provide what you need.

Daren

---

<div class="post-metadata">

### Author: ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)
#### Post date: [July 9, 2014, 7:02pm UTC](https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386/3 "2014-07-09T19:02:39Z")

</div>

> Hi,
> 
> Take a look at the last three or four posts in [this thread](http://community.wowza.com/t/-/42255)
> 
> which should provide what you need.
> 
> Daren

I went with commandline JMX . Am I doing right ?

```auto
JMXCommandLine -jmx service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi -user admin -pass admin stopVHost tv2_international
JMXCommandLine -jmx service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi -user admin -pass admin startVHost tv2_international

```

---

<div class="post-metadata">

### Author: ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)
#### Post date: [July 16, 2014, 12:35pm UTC](https://community.wowza.com/t/load-schedule-streamschedule-smil-by-command-line/35386/4 "2014-07-16T12:35:32Z")

</div>

worked like a charm 😃 thank you for the references

I’m using http providers route
