<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=378580&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [résolu] cron sur serveur]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=378580</link>
		<description><![CDATA[Les sujets les plus récents dans [résolu] cron sur serveur.]]></description>
		<lastBuildDate>Fri, 12 Feb 2010 12:06:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3275070#p3275070</link>
			<description><![CDATA[<div class="quotebox"><cite>Hizoka a écrit&#160;:</cite><blockquote><div><div class="quotebox"><cite>Qid a écrit&#160;:</cite><blockquote><div><p>à mort le crontab -e au fait</p></div></blockquote></div><p>J&#039;&#039;avais pourtant vu que c&#039;est ce qu&#039;il fallait faire...</p></div></blockquote></div><p>moi j&#039;ai toujours édité directe le crontab général mais bon ...</p><div class="quotebox"><cite>Hizoka a écrit&#160;:</cite><blockquote><div><div class="quotebox"><cite>Qid a écrit&#160;:</cite><blockquote><div><p>t&#039;a pas l&#039;impression que ça manque de définition d&#039;utilisateur ?</p></div></blockquote></div><p>J&#039;en ai jamais eu besoin de préciser quoi que ce soit sur mon pc....<br />je ne demande pas les droits roots...</p></div></blockquote></div><p>effectivement il me semble qu&#039;avecle -e c&#039;est<br />celui utilisateur donc pas besoin de le redeffinir dans le fichier<br />mais je crois que c&#039;est pour ça que j&#039;y suis &quot;allergique&quot; :<br />je préfere tout voir dans le meme fichier <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> mais bon chacun ses gouts <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Qid)]]></author>
			<pubDate>Fri, 12 Feb 2010 12:06:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3275070#p3275070</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274779#p3274779</link>
			<description><![CDATA[<div class="codebox"><pre><code>sudo start cron</code></pre></div><p>oops</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Fri, 12 Feb 2010 09:06:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274779#p3274779</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274775#p3274775</link>
			<description><![CDATA[<p>bon bah ça fonctionne <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>merci à vous !!</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 12 Feb 2010 09:05:20 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274775#p3274775</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274771#p3274771</link>
			<description><![CDATA[<div class="codebox"><pre><code>/etc/rc.d/init.d/crond status

/etc/rc.d/init.d/crond start</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Fri, 12 Feb 2010 09:02:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274771#p3274771</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274767#p3274767</link>
			<description><![CDATA[<div class="quotebox"><cite>credenhill a écrit&#160;:</cite><blockquote><div><p>dans /usr/bin, il doit le trouver tout seul.<br />regarde le /tmp/log<br />cron tourne bien ?<br />pour tester<br />* * * * *&#160; date &gt;&gt;/tmp/log1&#160; 2&gt;&amp;1</p></div></blockquote></div><p>il n&#039;y a pas de fichier /tmp/log1.... cron ne marcherait pas ?</p><p>EDIT : apres avoir lancé la commande &quot;cron&quot;, j&#039;ai un fichier maintenant...</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:59:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274767#p3274767</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274752#p3274752</link>
			<description><![CDATA[<p>Bonjour il suffit que tu ajoute /opt dans le path </p><p>genre ici dans les exemple on rajoute /home/scripts a la fin du path </p><div class="codebox"><pre><code># Dossiers où chercher les programmes.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/scripts
# Redéfinit le shell par défaut.
SHELL=/bin/sh
#exemple de tache, sauvegarde quotidienne
3 3 * * * /home/scripts/sauvegarde</code></pre></div><p>a mettre dans crontab</p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:49:39 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274752#p3274752</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274751#p3274751</link>
			<description><![CDATA[<p>dans /usr/bin, il doit le trouver tout seul.<br />regarde le /tmp/log<br />cron tourne bien ?<br />pour tester<br />* * * * *&#160; date &gt;&gt;/tmp/log1&#160; 2&gt;&amp;1</p>]]></description>
			<author><![CDATA[dummy@example.com (credenhill)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:49:37 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274751#p3274751</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274742#p3274742</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>whereis rdiff-backup<br />rdiff-backup: /usr/bin/rdiff-backup /usr/X11R6/bin/rdiff-backup /usr/bin/X11/rdiff-backup /usr/share/man/man1/rdiff-backup.1.gz</p></div></blockquote></div><p>donc :</p><div class="quotebox"><blockquote><div><p>export PATH=/usr/bin:/usr/X11R6/bin:/usr/bin/X11</p></div></blockquote></div><p>?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:35:17 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274742#p3274742</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274727#p3274727</link>
			<description><![CDATA[<p>rdiff-backup est là ?<br />export PATH=/usr/sbin:/usr/bin:/sbin:/bin</p>]]></description>
			<author><![CDATA[dummy@example.com (credenhill)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:18:39 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274727#p3274727</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274720#p3274720</link>
			<description><![CDATA[<p>je dois ajouter :</p><div class="codebox"><pre><code>PATH=/usr/sbin:/usr/bin:/sbin:/bin</code></pre></div><p>c&#039;est ça ?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:13:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274720#p3274720</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274712#p3274712</link>
			<description><![CDATA[<p>hello<br />defini le PATH de tes commandes au début du script<br />log ce qui se passe<br />30 3 * * * bash /opt/funsauvegarde.sh &gt;/tmp/log 2&gt;&amp;1</p>]]></description>
			<author><![CDATA[dummy@example.com (credenhill)]]></author>
			<pubDate>Fri, 12 Feb 2010 08:08:56 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274712#p3274712</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274667#p3274667</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>à mort le crontab -e au fait</p></div></blockquote></div><p>J&#039;&#039;avais pourtant vu que c&#039;est ce qu&#039;il fallait faire...</p><div class="quotebox"><blockquote><div><p>t&#039;a pas l&#039;impression que ça manque de définition d&#039;utilisateur ?</p></div></blockquote></div><p>J&#039;en ai jamais eu besoin de préciser quoi que ce soit sur mon pc....<br />je ne demande pas les droits roots...</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 12 Feb 2010 07:36:20 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3274667#p3274667</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3273822#p3273822</link>
			<description><![CDATA[<div class="quotebox"><cite>Hizoka a écrit&#160;:</cite><blockquote><div><p>je souhaite donc le lancer via cron à 3h30 du maitn tous les jours :</p><div class="codebox"><pre><code>30 3 * * * bash /opt/funsauvegarde.sh</code></pre></div><p>or cela ne fonctionne pas, ou peut être mon erreur ?</p></div></blockquote></div><p>t&#039;a lu la doc sur la syntaxe de crontab ?<br />t&#039;a pas l&#039;impression que ça manque de définition d&#039;utilisateur ?<br />(à mort le crontab -e au fait) <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Qid)]]></author>
			<pubDate>Thu, 11 Feb 2010 18:43:29 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3273822#p3273822</guid>
		</item>
		<item>
			<title><![CDATA[[résolu] cron sur serveur]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3273725#p3273725</link>
			<description><![CDATA[<p>Bonsoir,</p><p>voila mon code bash :</p><div class="codebox"><pre><code>#! /bin/bash
# Sauvegarde journaliere
nice -19 rdiff-backup --exclude /home/var --exclude /home/lost+found --exclude /home/mysqld.sock --exclude /home/f$

# Suppression d&#039;ancienne sauvegarde de plus d&#039;une semaine
nice -n 19 rdiff-backup --remove-older-than 1W --force /home/funsauvegarde</code></pre></div><p>Ce fichier bash fonctionne tres bien avec un :</p><div class="codebox"><pre><code>bash funsauvegarde.sh</code></pre></div><p>je souhaite donc le lancer via cron à 3h30 du maitn tous les jours :</p><div class="codebox"><pre><code>30 3 * * * bash /opt/funsauvegarde.sh</code></pre></div><p>or cela ne fonctionne pas, ou peut être mon erreur ?</p><p>merci</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Thu, 11 Feb 2010 18:03:00 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3273725#p3273725</guid>
		</item>
	</channel>
</rss>
