<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Bash_cronjob_alle_30_Sekunden</id>
	<title>Bash cronjob alle 30 Sekunden - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Bash_cronjob_alle_30_Sekunden"/>
	<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Bash_cronjob_alle_30_Sekunden&amp;action=history"/>
	<updated>2026-05-10T19:53:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in znilwiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://znil.net/index.php?title=Bash_cronjob_alle_30_Sekunden&amp;diff=13554&amp;oldid=prev</id>
		<title>BLinz am 16. Mai 2023 um 10:10 Uhr</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Bash_cronjob_alle_30_Sekunden&amp;diff=13554&amp;oldid=prev"/>
		<updated>2023-05-16T10:10:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 16. Mai 2023, 12:10 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Zeile 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://stackoverflow.com/questions/9619362/running-a-cron-every-30-seconds&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://stackoverflow.com/questions/9619362/running-a-cron-every-30-seconds&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;comments&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;comments &lt;/ins&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
	<entry>
		<id>https://znil.net/index.php?title=Bash_cronjob_alle_30_Sekunden&amp;diff=13553&amp;oldid=prev</id>
		<title>BLinz: Die Seite wurde neu angelegt: „Die Crontab kann minimal nur auf Minutenbasis einen Job ansteuern.&lt;br&gt; Für ein Kundenprojekt brauchte ich aber einen Job der alle 30 Sekunden etwas prüft. ---- Die Lösung ist den Job 2x einzustellen und beim zweiten ein &lt;code&gt;sleep 30;&lt;/code&gt; davor zu setzen: &lt;source lang=&quot;bash&quot;&gt; */1 * * * * /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue &gt;/dev/null 2&gt;&amp;1 */1 * * * * sleep 30; /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue…“</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Bash_cronjob_alle_30_Sekunden&amp;diff=13553&amp;oldid=prev"/>
		<updated>2023-05-16T10:10:29Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Die Crontab kann minimal nur auf Minutenbasis einen Job ansteuern.&amp;lt;br&amp;gt; Für ein Kundenprojekt brauchte ich aber einen Job der alle 30 Sekunden etwas prüft. ---- Die Lösung ist den Job 2x einzustellen und beim zweiten ein &amp;lt;code&amp;gt;sleep 30;&amp;lt;/code&amp;gt; davor zu setzen: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; */1 * * * * /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 */1 * * * * sleep 30; /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Die Crontab kann minimal nur auf Minutenbasis einen Job ansteuern.&amp;lt;br&amp;gt;&lt;br /&gt;
Für ein Kundenprojekt brauchte ich aber einen Job der alle 30 Sekunden etwas prüft.&lt;br /&gt;
----&lt;br /&gt;
Die Lösung ist den Job 2x einzustellen und beim zweiten ein &amp;lt;code&amp;gt;sleep 30;&amp;lt;/code&amp;gt; davor zu setzen:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
*/1 * * * * /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
*/1 * * * * sleep 30; /usr/lib/zabbix/externalscripts/displaycheck_zabbix DoTheQueue &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
Quellen:&amp;lt;br&amp;gt;&lt;br /&gt;
* https://stackoverflow.com/questions/9619362/running-a-cron-every-30-seconds&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/comments&amp;gt;&lt;/div&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
</feed>