<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kevin&#039;s blog</title>
	<atom:link href="http://blog.kevin-k.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.kevin-k.com</link>
	<description>just another blog from just another blogger.</description>
	<lastBuildDate>Fri, 19 Feb 2010 22:04:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenSource rules the world</title>
		<link>http://blog.kevin-k.com/2010-02-19/opensource-rules-the-world.html</link>
		<comments>http://blog.kevin-k.com/2010-02-19/opensource-rules-the-world.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 22:02:45 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Bilder]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/2010-02-19/opensource-rules-the-world.html</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kevin-k.com/wp-content/uploads/2010/02/20100217_osoworld2.jpg" alt="20100217 osoworld2 OpenSource rules the world" title="20100217_osoworld2" width="600" height="4977" class="aligncenter size-full wp-image-924" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-02-19/opensource-rules-the-world.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AeroSnap</title>
		<link>http://blog.kevin-k.com/2010-02-13/aerosnap.html</link>
		<comments>http://blog.kevin-k.com/2010-02-13/aerosnap.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 15:51:22 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Alltag]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=919</guid>
		<description><![CDATA[
WPvideo 1.10


AeroSnap
]]></description>
			<content:encoded><![CDATA[<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/TbsnbjkrWus" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/TbsnbjkrWus"></param></object></div>
</div>
<p><a href="http://www.aerosnap.de/">AeroSnap</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-02-13/aerosnap.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Nexus One</title>
		<link>http://blog.kevin-k.com/2010-02-07/google-nexus-one.html</link>
		<comments>http://blog.kevin-k.com/2010-02-07/google-nexus-one.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 21:11:09 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=908</guid>
		<description><![CDATA[
The making of Google&#8217; Nexus One
Nexus One: The Story &#8211; Episode 1: Concept &#038; Design

WPvideo 1.10


Nexus One: The Story &#8211; Episode 2: Display &#038; 3D Framework

WPvideo 1.10


Nexus One: The Story &#8211; Episode 3: Testing

WPvideo 1.10


Nexus One: The Story &#8211; Episode 4: Manufacturing

WPvideo 1.10


]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kevin-k.com/wp-content/uploads/2010/02/Google_Nexus_One.jpg" alt="Google Nexus One Google Nexus One" title="Google_Nexus_One" width="550" height="467" class="aligncenter size-full wp-image-911" /></p>
<h2>The making of Google&#8217; Nexus One</h2>
<h3>Nexus One: The Story &#8211; Episode 1: Concept &#038; Design</h3>
<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/e2WtBwAL0SE" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/e2WtBwAL0SE"></param></object></div>
</div>
<h3>Nexus One: The Story &#8211; Episode 2: Display &#038; 3D Framework</h3>
<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/i7-p15xbXB4" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/i7-p15xbXB4"></param></object></div>
</div>
<h3>Nexus One: The Story &#8211; Episode 3: Testing</h3>
<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/R1sz5c-R9h0" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/R1sz5c-R9h0"></param></object></div>
</div>
<h3>Nexus One: The Story &#8211; Episode 4: Manufacturing</h3>
<div class="wpv_videoc">
<div class="wpv_self"><a href="http://www.skarcha.com/wp-plugins/wpvideo/">WPvideo 1.10</a></div>
<div class="wpv_video"><object data="http://www.youtube.com/v/W9qeN42KAc0" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/W9qeN42KAc0"></param></object></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-02-07/google-nexus-one.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printers from Hell</title>
		<link>http://blog.kevin-k.com/2010-01-16/printers-from-hell.html</link>
		<comments>http://blog.kevin-k.com/2010-01-16/printers-from-hell.html#comments</comments>
		<pubDate>Sat, 16 Jan 2010 22:56:00 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Alltag]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=896</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://theoatmeal.com/comics/printers"><img class="size-full wp-image-897" title="header" src="http://blog.kevin-k.com/wp-content/uploads/2010/01/header.png" alt="header Printers from Hell" width="539" height="474" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-01-16/printers-from-hell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sysbench unter Debian Lenny kompilieren</title>
		<link>http://blog.kevin-k.com/2010-01-10/sysbench-unter-debian-lenny-kompilieren.html</link>
		<comments>http://blog.kevin-k.com/2010-01-10/sysbench-unter-debian-lenny-kompilieren.html#comments</comments>
		<pubDate>Sun, 10 Jan 2010 11:11:18 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=894</guid>
		<description><![CDATA[sysbench downloaden: http://sourceforge.net/projects/sysbench/
Notwendige Pakete:

apt-get install automake libmysqlclient15-dev

Kompilieren:

./configure
sed -i configure.ac -e 's/AC_PROG_LIBTOOL/AC_PROG_RANLIB/' # fix
./autogen.sh # fix
make
make install

]]></description>
			<content:encoded><![CDATA[<p>sysbench downloaden: http://sourceforge.net/projects/sysbench/</p>
<p>Notwendige Pakete:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">apt-get install automake libmysqlclient15-dev</pre></div></div>

<p>Kompilieren:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">./configure
sed -i configure.ac -e 's/AC_PROG_LIBTOOL/AC_PROG_RANLIB/' # fix
./autogen.sh # fix
make
make install</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-01-10/sysbench-unter-debian-lenny-kompilieren.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alte Netzwerkadapter aus Windows entfernen</title>
		<link>http://blog.kevin-k.com/2010-01-08/alte-netzwerkadapter-aus-windows-entfernen.html</link>
		<comments>http://blog.kevin-k.com/2010-01-08/alte-netzwerkadapter-aus-windows-entfernen.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 14:08:16 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=892</guid>
		<description><![CDATA[
set devmgr_show_nonpresent_devices=1
devmgmt.msc

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">set devmgr_show_nonpresent_devices=1
devmgmt.msc</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-01-08/alte-netzwerkadapter-aus-windows-entfernen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password is not valid</title>
		<link>http://blog.kevin-k.com/2010-01-03/password-is-not-valid.html</link>
		<comments>http://blog.kevin-k.com/2010-01-03/password-is-not-valid.html#comments</comments>
		<pubDate>Sun, 03 Jan 2010 12:31:48 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Alltag]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=885</guid>
		<description><![CDATA[Manchmal unglaublich, was es für kranke Einschränkungen bei Passwörtern gibt:

Password is not valid. Passwords must be at least 6 characters and can only contain letters (A-Z, any case) and numbers (0-9).
]]></description>
			<content:encoded><![CDATA[<p>Manchmal unglaublich, was es für kranke Einschränkungen bei Passwörtern gibt:</p>
<blockquote><p>
Password is not valid. Passwords must be at least 6 characters and can <strong>only contain letters (A-Z, any case) and numbers (0-9).</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2010-01-03/password-is-not-valid.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Interface-Mirroring</title>
		<link>http://blog.kevin-k.com/2009-12-24/linux-interface-mirroring.html</link>
		<comments>http://blog.kevin-k.com/2009-12-24/linux-interface-mirroring.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 10:40:00 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Netzwerk]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=883</guid>
		<description><![CDATA[
apt-get install daemonlogger
daemonlogger -i eth0 -o eth3

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">apt-get install daemonlogger
daemonlogger -i eth0 -o eth3</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2009-12-24/linux-interface-mirroring.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird Einstellungen</title>
		<link>http://blog.kevin-k.com/2009-12-16/thunderbird-einstellungen.html</link>
		<comments>http://blog.kevin-k.com/2009-12-16/thunderbird-einstellungen.html#comments</comments>
		<pubDate>Wed, 16 Dec 2009 20:01:25 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Alltag]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=872</guid>
		<description><![CDATA[Als kurzes Memo an mich, meine Thunderbird Einstellungen:
Google Mail IMAP Account Setup Extension
https://addons.mozilla.org/de/thunderbird/addon/6381
Konto / Server-Einstellungen
Beim löschen einer Nachricht: &#8220;In den Papierkorb verschieben&#8221;.
Konto / Verfassen &#038; Adressieren

[ ] Nachrichten im HTML-Format verfassen
[X] Original-Nachricht beim Antworten automatisch zitieren:
     - Antwort über dem zitierten Text beginnen.

Standard-Sortierung

mailnews.default_sort_type = 18
mailnews.default_sort_order = 2

Infos zur Sortierung gibt es [...]]]></description>
			<content:encoded><![CDATA[<p>Als kurzes Memo an mich, meine Thunderbird Einstellungen:</p>
<h3>Google Mail IMAP Account Setup Extension</h3>
<p><a href="https://addons.mozilla.org/de/thunderbird/addon/6381">https://addons.mozilla.org/de/thunderbird/addon/6381</a></p>
<h3>Konto / Server-Einstellungen</h3>
<p>Beim löschen einer Nachricht: &#8220;In den Papierkorb verschieben&#8221;.</p>
<h3>Konto / Verfassen &#038; Adressieren</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[ ] Nachrichten im HTML-Format verfassen
[X] Original-Nachricht beim Antworten automatisch zitieren:
     - Antwort über dem zitierten Text beginnen.</pre></div></div>

<h3>Standard-Sortierung</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">mailnews.default_sort_type = 18
mailnews.default_sort_order = 2</pre></div></div>

<p>Infos zur Sortierung gibt es <a href="http://www.bertschulze.de/2008/01/26/in-thunderbird-alle-mails-absteigend-nach-datum-sortieren/">hier</a>.</p>
<h3>Alle IMAP-Ordner abrufen</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">mail.check_all_imap_folders_for_new = true</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2009-12-16/thunderbird-einstellungen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash-Script um zeitgesteuert Programme zu starten</title>
		<link>http://blog.kevin-k.com/2009-12-12/bash-script-um-zeitgesteuert-programme-zu-starten.html</link>
		<comments>http://blog.kevin-k.com/2009-12-12/bash-script-um-zeitgesteuert-programme-zu-starten.html#comments</comments>
		<pubDate>Sat, 12 Dec 2009 13:24:53 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=841</guid>
		<description><![CDATA[Wenn man beispielsweise heute um 20:15 Uhr ein bestimmtes Script starten möchte, kommt man meist um ein Crontab nicht herum. Mit diesem kleinen Script übergibt man als Parameter ein Datum und/oder Uhrzeit und das Script wartet dann bis zu diesem Zeitstempel, bevor das Script beendet wird und das darauf folgende Programm gestartet wird &#8211; somit [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man beispielsweise heute um 20:15 Uhr ein bestimmtes Script starten möchte, kommt man meist um ein Crontab nicht herum. Mit diesem kleinen Script übergibt man als Parameter ein Datum und/oder Uhrzeit und das Script wartet dann bis zu diesem Zeitstempel, bevor das Script beendet wird und das darauf folgende Programm gestartet wird &#8211; somit spart man sich das aufwändige editieren der Crontab-Files.</p>
<h3>Beispiel</h3>
<p>Uhrzeit:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@test:~$ ./tsleep.sh 14:30; reboot
i sleep until 2009-12-12 14:30:00 ...</pre></div></div>

<p>Datum:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">./tsleep.sh 2009-12-24; reboot
i sleep until 2009-12-24 00:00:00 ...</pre></div></div>

<p>Datum mit Uhrzeit:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@test:~$ ./tsleep.sh 2009-12-24 13:45:12; reboot
i sleep until 2009-12-24 13:45:12 ...</pre></div></div>

<h3>Funktionsweise</h3>
<p>Der Zeitstempel wird in Sekunden umgerechnet und über eine while-Schleife sekündlich mit dem aktuellen Datum abgeprüft. Ist das aktuelle Datum gleich oder älter dem Zeitstempel, wird das Script beendet und das darauf folgende Program gestartet. Als Zeitstempel kann man alles verwenden was <em>date</em> futtert.</p>
<p>Eine alternative wäre die Differenz der aktuellen Zeit und des Zeitstempels in Sekunden umzurechnen und dann <emm>sleep</em> zu übergeben. Ob das perfomanter ist &#8211; keine Ahnung, mein Script dagegen überlebt auch Zeit-Anpassungen (z.b. rdate/ntpdate), daher habe ich diesen Weg gewählt.</p>
<p>Sollte jemand Fehler finden oder das Script verbessern, würde ich mich freuen, wenn Ihr mir das mitteilt ;).</p>
<h3>Script</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 &lt;timestamp&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;$2&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">date</span></span>=<span style="color: #ff0000;">&quot;$1&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">date</span></span>=<span style="color: #ff0000;">&quot;$1 $2&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #007800;">date_end</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #660033;">--date</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$date</span>&quot;</span> +<span style="color: #000000; font-weight: bold;">%</span>s <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;error: invalid date&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$date_end</span> <span style="color: #660033;">-le</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;error: end time is lower or eqal start time&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;i sleep until <span style="color: #007800;">$(date --date=&quot;$date&quot; &quot;+%Y-%m-%d %H:%M:%S&quot;)</span> ...&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">-le</span> <span style="color: #007800;">$date_end</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

<h3>Download</h3>
<p><a class="download" href="http://blog.kevin-k.com/wp-content/uploads/2009/12/tsleep.sh">Download tsleep.sh</a></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">wget http://blog.kevin-k.com/wp-content/uploads/2009/12/tsleep.sh
chmod +x tsleep.sh</pre></div></div>

<h3>at</h3>
<p>Alternativ gibt es auch <em>at</em>, das Befehle direkt von Standard-Input oder einer Datei ließt und zu einer bestimmten Uhrzeit ausführt.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2009-12-12/bash-script-um-zeitgesteuert-programme-zu-starten.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
