Cron-Based Stream Scheduling
In some cases, a stream needs to be restarted periodically — for example, to refresh the connection, clear memory, or for other technical reasons. Our solution now includes a scheduling feature for automatic actions — similar to the well-known cron utility in Linux.
How It Works
Section titled “How It Works”In the settings of each stream, you can define one or more scheduled actions to be executed at a specified time. To do this:
-
Open the settings of the desired stream.
-
Click the
Add cron actionbutton. -
In the newly appeared section, choose the type of action:
Start,RestartorStop. -
Set the execution time using the
crontabformat.
For convenience, we recommend using the online tool: https://crontab.guru, which helps you visually create the desired time pattern.
Features
Section titled “Features”- You can add multiple cron actions for a single stream. For example, one for daily restarts and another to stop the stream on specific days.
- A Next action column has been added to the stream table, showing the time remaining until the next scheduled action. This helps quickly see when the next state change will occur.
Example Use Case
Section titled “Example Use Case”Let’s say you have a 24/7 livestream running. To prevent error buildup and crashes, you can schedule a daily restart at 03:00 AM:
- Action type:
Restart - Time:
0 3 * * *Now, the system will automatically restart the stream every night without any manual intervention.