# schedule stream target in wowza engine

**URL:** <https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741>\
**Category:** Wowza Streaming Engine\
**Created:** [July 4, 2016, 3:03pm UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741 "2016-07-04T15:03:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [July 4, 2016, 3:03pm UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741/1 "2016-07-04T15:03:04Z")

</div>

Hi

I’m using stream target to send my streaming to facebook live, but how can I schedule to publish automatic ? is possible?

Thks

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [July 5, 2016, 6:44am UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741/2 "2016-07-05T06:44:39Z")

</div>

what about a cron job ? what do u mean by “automatic” ?

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [July 5, 2016, 3:31pm UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741/3 "2016-07-05T15:31:53Z")

</div>

u could do this if we had more infos about the rest api…the process would be:

login to fb and extend your token life (get a long lived token)

store this token in db or whatever

create a cron job calling a php page that login to fb, retrieve the streamId, url etc

post to wowza rest to create the stream target

but so far there is something wrong (or not documented/explained) in wowza regarding the token: a token generated with login button is not working, but the (enctrypted) token generated from the manager works…

i guess wowza team is aware of this issue:it’s mentionned in the facebook stream doc that “resaving” a stream created from the rest api will fix the token issue. i can confirm this point, but still waiting for news from Wowza…

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [July 5, 2016, 6:26am UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741/4 "2016-07-05T06:26:59Z")

</div>

For example I need to send 4 different streaming to facebook (also to 4 different facebook accounts) at 7AM every day … Now I woke up early and do the job manually, I would like to schedule this task so my server can do the job for me. Do you know how can I do this?

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [August 19, 2016, 12:11pm UTC](https://community.wowza.com/t/schedule-stream-target-in-wowza-engine/741/5 "2016-08-19T12:11:22Z")

</div>

Hello,

We suggest that you update to the latest version of Wowza Streaming Engine 4.5.0.01 (just released), as this does include some Stream Target fixes related to the token process with Facebook.

You should be able to find this update by logging into your Wowza portal My Account and selecting the My Downloads tab.

[How to update your Wowza Streaming Engine installation](https://www.wowza.com/docs/how-to-update-your-wowza-streaming-engine-installation)

Best regards,

Andrew
