<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Вопрос по крону]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=5730&amp;type=atom" />
	<updated>2010-08-13T22:30:26Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=5730</id>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос по крону]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=79510#p79510" />
			<content type="html"><![CDATA[<p>да, crond так не может, однако возможность есть:<br /></p><div class="codebox"><pre><code>$ while true; do usleep 1700000; date; done</code></pre></div><p>этот однострок запускает команду date каждые 1.7 секунд (пауза задаётся в микросекундах).</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2010-08-13T22:30:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=79510#p79510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос по крону]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=79064#p79064" />
			<content type="html"><![CDATA[<p>Ок, спасибо. Суть понял.</p>]]></content>
			<author>
				<name><![CDATA[Ockonal]]></name>
				<uri>https://linuxforum.ru/profile.php?id=2842</uri>
			</author>
			<updated>2010-08-13T07:17:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=79064#p79064</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос по крону]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=79062#p79062" />
			<content type="html"><![CDATA[<p>Нет, у крона минималка это минута... Как вариант через крон запускать скрипт</p><div class="codebox"><pre><code>* * * * * script.py; sleep 5; script.py</code></pre></div>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2010-08-13T07:14:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=79062#p79062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Вопрос по крону]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=78980#p78980" />
			<content type="html"><![CDATA[<p>Здравствуйте. У меня arch linux и dcron установлен. Нужно запускать какой-то python-скрипт каждые 5 или 10 секунд. Возможно ли такое реализовать? Или там минимальная единица это 1 минута?</p>]]></content>
			<author>
				<name><![CDATA[Ockonal]]></name>
				<uri>https://linuxforum.ru/profile.php?id=2842</uri>
			</author>
			<updated>2010-08-12T19:07:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=78980#p78980</id>
		</entry>
</feed>
