# crontab and duration

**URL:** <https://community.wowza.com/t/crontab-and-duration/45481>\
**Category:** Wowza Streaming Engine\
**Created:** [June 23, 2015, 8:09am UTC](https://community.wowza.com/t/crontab-and-duration/45481 "2015-06-23T08:09:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mans\_Nyberg](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@Mans\_Nyberg](https://community.wowza.com/u/Mans_Nyberg)\
**Post date:** [June 23, 2015, 8:09am UTC](https://community.wowza.com/t/crontab-and-duration/45481/1 "2015-06-23T08:09:49Z")

</div>

I have a question concerning the crontab and duration. I want to record a live stream for 30 minutes every day (using the Live Application), 12:00 -12: 30. I can not get it to work, the recording roll on forever. Someone who can help?

streamRecorderSegmentSchedule: 0.30 \* \* \* \* \*

Stream Recorder segment duration: 1800000

---

<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:** [June 28, 2015, 7:51pm UTC](https://community.wowza.com/t/crontab-and-duration/45481/2 "2015-06-28T19:51:36Z")

</div>

Hi,

If you’re using Wowza Streaming Engine, crontab is only supported for scheduling the segmentation of the recorded files, refer to [this section of the recording guide.](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine#crontab)

If you just want to record on a scheduled basis I’d suggest the use of recording with a URL [as shown here.](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine#livestreamrecordhttpprovider)

You can control recording that way, outside of Wowza Streaming Engine, using the ‘curl’ command and a task scheduler.

You can also record with more control using the [LiveStreamRecordManager APIs](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine#livestreamrecordapi)

Daren
