cron, suite

This commit is contained in:
Jérémy Lecour 2017-06-19 23:59:14 +02:00 committed by Jérémy Lecour
parent 8401464fab
commit a80ce2e930

View file

@ -63,10 +63,10 @@
</code>
</pre>
<pre>
<code data-trim>
<code data-trim class="hljs nohighlight">
# vim /etc/cron.d/example
30 05 * * 0 www-data /usr/local/adm/savelog-weekly
</code>
30 05 * * 0 www-data /usr/local/adm/savelog-weekly
</pre>
</section>
@ -79,7 +79,6 @@
<code data-trim class="hljs nohighlight">
# crontab -u jdoe -e
</code>
<code data-trim class="hljs nohighlight">
0,30,45,51 * * * * /usr/local/adm/send-data
*/15 * * * * /usr/local/adm/check-nis 1>/dev/null 2>&1
00 01 * * * nice -10 find /inf -name core -exec rm -f {} \;
@ -89,7 +88,6 @@
00 00 1 1 * /usr/local/bin/happy-new-year
MAILTO=alert@example.com
@daily /usr/local/bin/minuit-check
</code>
</pre>
</section>
@ -109,8 +107,11 @@
</section>
</section>
<section>
<section>
<h2>ntpd</h2>
</section>
<section>
<pre>
<code>
$ date
@ -143,6 +144,8 @@ $ timedatectl
</pre>
</section>
</section>
<section>
<h2>systemd</h2>