[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startup



Scavenging the mail folder uncovered Roberto Zanasi's letter:
> Se io - utente non root - voglio che ad ogni boot venga avviato un mio
> processo, come devo fare?

in teoria non puoi, ma hai due soluzioni. usi cron (man cron, man crontab)
per lanciare il processo ad una certa ora o ad un certo intervallo di
tempo (ogni 5 minuti, per esempio...) oppure metti uno script di init
(/etc/init.d, /etc/rc?.d) che chiama il comando che vuoi con 
"su -c comando utente"

ciao,
federico



Reply to: