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

Re: Crontab não funciona



Olá,

2009/5/22 Darley Rovaris da Silva <darleyrs@hotmail.com>:
> Não estou conseguindo fazer o contrab funcionar, tenho um servidor básico
> rodando Samba e Squid e preciso do Crontab para rodar uns scprits em
> determinados horários e dias, porém mesmo em alguns testes ele não funcionar
> de maneira alguma.

Estes seus scripts são para o /bin/sh executar ou para um outro shell

------
            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 % character, 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.

------
> Fiz alguns testes no servidor do trabalho e não há segredos para usar o
> Contrab, porém ele tem uma versão um pouco mais antiga do Debian. Nele tudo
> funciona perfeitamente.
> Estou usando a última versão do Debian.
>
> O que será que está acontecendo? Por tudo que programo para o Crontab
> "rodar" não está funcionado?
> Obrigado!
>
>

Abraço,

-- 
Gunther Furtado
Curitiba - Paraná - Brasil
gunfurtado@gmail.com

"...agora, só nos sobrou o futuro...", visto em www.manuchao.net


Reply to: