El día Wednesday, November 20, 2013 a las 01:19:57PM -0500, Hugo Florentino escribió:
> Hola colegas, > > Por algún motivo que aun no he aclarado, el servicio nsd que instalé en > mi pfSense se está cayendo a intervalos irregulares. > > Como medida temporal, pensaba poner algo como esto en el crontab: > > */5 * * * (nsdc running) || nsdc start > > Alguien sabe si esto podria funcionar? > Es decir, si la configuración de crontab y la concatenación de comandos > en FreeBSD es igual que en Linux? Hola, La página de manual dice: The ``sixth'' field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % char‐ acter, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (\), will be changed into newline characters, and all data after the first % will be sent to the command as standard input. o sea, sí tendría que funcionar. Saludos matthias -- Sent from my FreeBSD netbook Matthias Apitz, <g...@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que est� limpio.
______________________________________________________________________ Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba. Gutl-l@jovenclub.cu https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l