crontab
Moderatore: Staff
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
- useless
- Staff

- Messaggi: 3896
- Iscritto il: dom 12 ott 2003, 0:00
- Località: A place where the streets have no name
- Contatta:
crontab
<!-- BBCode Quote Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Quote:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><BLOCKQUOTE># If you don´t want the output of a cron job mailed to you, you have to direct
<BR># any output to /dev/null. We´ll do this here since these jobs should run
<BR># properly on a newly installed system, but if they don´t the average newbie
<BR># might get quite perplexed about getting strange mail every 5 minutes. :^)
<BR>#
<BR># Run the hourly, daily, weekly, and monthly cron jobs.
<BR># Jobs that need different timing may be entered into the crontab as before,
<BR># but most really don´t need greater granularity than this. If the exact
<BR># times of the hourly, daily, weekly, and monthly cron jobs do not suit your
<BR># needs, feel free to adjust them.
<BR>#
<BR># Run hourly cron jobs at 47 minutes after the hour:
<BR>47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null
<BR>#
<BR># Run daily cron jobs at 4:40 every day:
<BR>40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
<BR>#
<BR># Run weekly cron jobs at 4:30 on the first day of the week:
<BR>30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null
<BR>#
<BR>#
<BR># Run monthly cron jobs at 4:20 on the first day of the month:
<BR>20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode Quote End -->
<BR>
<BR>prego
, anch´io una volta ho avuto lo stesso problema!<br>
<BR># any output to /dev/null. We´ll do this here since these jobs should run
<BR># properly on a newly installed system, but if they don´t the average newbie
<BR># might get quite perplexed about getting strange mail every 5 minutes. :^)
<BR>#
<BR># Run the hourly, daily, weekly, and monthly cron jobs.
<BR># Jobs that need different timing may be entered into the crontab as before,
<BR># but most really don´t need greater granularity than this. If the exact
<BR># times of the hourly, daily, weekly, and monthly cron jobs do not suit your
<BR># needs, feel free to adjust them.
<BR>#
<BR># Run hourly cron jobs at 47 minutes after the hour:
<BR>47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null
<BR>#
<BR># Run daily cron jobs at 4:40 every day:
<BR>40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
<BR>#
<BR># Run weekly cron jobs at 4:30 on the first day of the week:
<BR>30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null
<BR>#
<BR>#
<BR># Run monthly cron jobs at 4:20 on the first day of the month:
<BR>20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode Quote End -->
<BR>
<BR>prego
