How to configuer a cron job

From G8 TV Wiki

Jump to: navigation, search

Here is a quick step by step instruction of our testing enviroment we ran with Debian. Paths and commands may vary by the type of software you are using. If things dont work out, write to the g8-mirror at kanalB.org mailing list, we will help you.

If you can help other people, please do so. Feel free to add information to this pages.


debian installation

 $ vi /etc/crontab
  • add the following two lines to your crontab file to start / stop your server:
 55 20 2-8 6 *   icecast2    /etc/init.d/icecast2 start 2>&1> /dev/null
 45 21 2-8 6 *   icecast2    /etc/init.d/icecast2 stop 2>&1> /dev/null
  • this will start your server at 20:55 and stop it at 21:45
  • please note, we are streaming at [CEST] (Central European Summer Time = UTC+2).

depending on the time zone or configuration of your server, times may vary.

Personal tools