Live Support My forum, my way! Il forum dei newsgroup: Linux » endian firewall reboot
My forum, my way! Il forum dei newsgroup
Fast Uncompromising Discussions.Newsgroup FUDforum will get your users talking.

Loading
Utenti      F.A.Q.    Registrati    Login    Home
Home » Computer » Linux » endian firewall reboot
endian firewall reboot [messaggio #116444] gio, 15 settembre 2011 05:02 Messaggio successivo
rodolfo  è attualmente disconnesso rodolfo
Messaggi: 32
Registrato: dicembre 2010
Member
non ho visto dalle pagine di amministrazione di endian firewall un flag
per poter programmare un riavvio, cosi' "a naso" ho editato il file
/var/spool/cron/root.orig che copio/incollo


SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=
HOME=/

#
&nolog */1 * * * * [ -x /bin/run-parts ] && run-parts --report
/etc/cron.minutely

&nolog */5 * * * * [ -x /bin/run-parts ] && run-parts --report
/etc/cron.cyclic

01 * * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.hourly

25 1 * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.daily

47 2 * * 0 [ -x /bin/run-parts ] && run-parts --report /etc/cron.weekly

52 3 1 * * [ -x /bin/run-parts ] && run-parts --report
/etc/cron.monthly

#
@nolog 5 [ -x /bin/run-parts ] && run-parts --report
/etc/anacron.cyclic
@ 1h [ -x /bin/run-parts ] && run-parts --report /etc/anacron.hourly
@ 1d [ -x /bin/run-parts ] && run-parts --report /etc/anacron.daily
@ 1w [ -x /bin/run-parts ] && run-parts --report /etc/anacron.weekly
@ 1m [ -x /bin/run-parts ] && run-parts --report /etc/anacron.monthly

# Summarize ip accounting info:
2 1 * * * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the day 2
days ago" >/dev/null

3 1 * * 0 /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the week 4
weeks ago" >/dev/null

4 1 1 2 * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the year 2
years ago" >/dev/null

57 23 * * * [ -x /usr/lib/cron/logrotate.cron ] &&
/usr/lib/cron/logrotate.cron


# reboot quotidiano
0 3 * * * /sbin/reboot # riavvio alle 3 del mattino



tuttavia il reboot alle 3 del mattino non avviene. semplicemente il
sistema ignora la direttiva. Cosa sbaglio?
grazie
Re: endian firewall reboot [messaggio #117824 è una risposta a message #116444] dom, 18 settembre 2011 13:45 Messaggio precedenteMessaggio successivo
Giuseppe Della Bianca  è attualmente disconnesso Giuseppe Della Bianca
Messaggi: 1545
Registrato: dicembre 2010
Senior Member
Rodolfo wrote:

>
>
> non ho visto dalle pagine di amministrazione di endian firewall un flag
> per poter programmare un riavvio, cosi' "a naso" ho editato il file
> /var/spool/cron/root.orig che copio/incollo
>
]zac[

Loggarsi con l'utente voluto, poi usare ' crontab -e '.
Re: endian firewall reboot [messaggio #118138 è una risposta a message #117824] dom, 18 settembre 2011 22:42 Messaggio precedenteMessaggio successivo
rodolfo  è attualmente disconnesso rodolfo
Messaggi: 32
Registrato: dicembre 2010
Member
var/spool/cron/root.orig che copio/incollo
>>
> ]zac[
>
> Loggarsi con l'utente voluto, poi usare ' crontab -e '.
>

sulla mia endian community 2.4.1 crontab non c'e' da terminale.
veramente non lo vedo da nessuna parte.
Re: endian firewall reboot [messaggio #121530 è una risposta a message #118138] sab, 24 settembre 2011 14:37 Messaggio precedente
Giuseppe Della Bianca  è attualmente disconnesso Giuseppe Della Bianca
Messaggi: 1545
Registrato: dicembre 2010
Senior Member
Rodolfo wrote:

> var/spool/cron/root.orig che copio/incollo
>>>
>> ]zac[
>>
>> Loggarsi con l'utente voluto, poi usare ' crontab -e '.
>>
>
> sulla mia endian community 2.4.1 crontab non c'e' da terminale.
> veramente non lo vedo da nessuna parte.

Probabilmente crontab era installato ed e' stato disinstallato.

Forse usi anacron o altro sistema di esecuzione periodico, in questo caso
devi usare i loro file di configurazione e non quello di crontab (che si
chiama nome utente e non utente.orig).
Argomento precedente:linux e stack grafico
Argomento successivo:velocita' hd sataII
Vai al forum:
  


Ora corrente: gio apr 25 12:51:18 CEST 2024

Tempo totale richiesto per generare la pagina: 0.00946 secondi
.:: Contatti :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Live Support