On Thu, Feb 01, 2007 at 10:29:11PM -0300, Mirela Lisboa wrote: > OI Andres, > > Descobri. :-) > > To get a literal '%', type '\%'. > > É o seguinte o crontab entende o sinal % como uma nova linha então > temos que escapá-lo. > > Se quiser ver a dica inteira é só ir para o link: > > http://adam.kungfoohampster.com/lists/freebsd-questions/msg02034.shtml >
Só pra constar, está na manpage (man 5 crontab): ... 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. ... -- Ricardo Campos Passanezi ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd