<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Запуск скрипта периодически в centos]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=23975</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=23975&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Запуск скрипта периодически в centos».]]></description>
		<lastBuildDate>Sat, 25 Aug 2012 17:08:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Запуск скрипта периодически в centos]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=295461#p295461</link>
			<description><![CDATA[<p>Да, от <em>root</em>, будут выполняться, для этого он и предназначен.<br />Если планируется выполнение от <em>root</em>, нужные команды можно добавить в общесистемный файл конфигурации — <em>/etc/crontab</em>.</p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Sat, 25 Aug 2012 17:08:18 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=295461#p295461</guid>
		</item>
		<item>
			<title><![CDATA[Re: Запуск скрипта периодически в centos]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=295458#p295458</link>
			<description><![CDATA[<p>Спасибо, крон это то что нужно) Скажите вот я залогинился под root, ввёл всё что нужно в команде crontab -e. команды будут выполнятся от root? Когда я разлогинюсь, крон продолжит выполнять команды?</p>]]></description>
			<author><![CDATA[null@example.com (DarkDigger)]]></author>
			<pubDate>Sat, 25 Aug 2012 17:02:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=295458#p295458</guid>
		</item>
		<item>
			<title><![CDATA[Re: Запуск скрипта периодически в centos]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=295453#p295453</link>
			<description><![CDATA[<div class="codebox"><pre><code>man cron</code></pre></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль: root</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><span style="color:#FF6A6A">[root@linuxforum.ru ~]#</span> crontabs -e</div><br /></p><div class="codebox"><pre><code>cat /var/spool/cron/crontabs/root 
# If you don&#039;t want the output of a cron job mailed to you, you have to direct
# any output to /dev/null.  We&#039;ll do this here since these jobs should run
# properly on a newly installed system, but if they don&#039;t the average newbie
# might get quite perplexed about getting strange mail every 5 minutes. :^)
#
# Run the hourly, daily, weekly, and monthly cron jobs.
# Jobs that need different timing may be entered into the crontab as before,
# but most really don&#039;t need greater granularity than this.  If the exact
# times of the hourly, daily, weekly, and monthly cron jobs do not suit your
# needs, feel free to adjust them.
#
# Run hourly cron jobs at 47 minutes after the hour:
47 * * * * /usr/bin/run-parts /etc/cron.hourly 1&gt; /dev/null
#
# Run daily cron jobs at 4:40 every day:
40 4 * * * /usr/bin/run-parts /etc/cron.daily 1&gt; /dev/null
#
# Run weekly cron jobs at 4:30 on the first day of the week:
30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1&gt; /dev/null
#
# Run monthly cron jobs at 4:20 on the first day of the month:
20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1&gt; /dev/null</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (yars)]]></author>
			<pubDate>Sat, 25 Aug 2012 16:36:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=295453#p295453</guid>
		</item>
		<item>
			<title><![CDATA[Re: Запуск скрипта периодически в centos]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=295452#p295452</link>
			<description><![CDATA[<p><a href="http://ru.wikipedia.org/wiki/Cron">cron</a><br /><a href="http://www.opennet.ru/man.shtml?topic=crontab&amp;category=5&amp;russian=0">man crontab</a><br /><a href="http://www.linuxforum.by/viewtopic.php?f=249&amp;t=79">LinuxFormat №5(144), Май 2011: «Запуск по расписанию»</a></p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Sat, 25 Aug 2012 16:36:10 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=295452#p295452</guid>
		</item>
		<item>
			<title><![CDATA[Запуск скрипта периодически в centos]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=295451#p295451</link>
			<description><![CDATA[<p>Есть необходимость запуска скрипта каждую минуту скажите как это сделать?</p>]]></description>
			<author><![CDATA[null@example.com (DarkDigger)]]></author>
			<pubDate>Sat, 25 Aug 2012 16:27:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=295451#p295451</guid>
		</item>
	</channel>
</rss>
