cron reads the files in /etc/cron.d in addition to /etc/crontab and the
per-user crontab files. See the cron(8) manpage.
The files in /etc/cron.d are supposed to be crontab files, not scripts
like those being run using run-parts.
--
regards,
kushal
understood :-)
Cheers!
Pol
--
To
Pol Hallen de...@fuckaround.org writes:
Hi all :-)
doing a check of my system, I see some scripts in /etc/cron.d/
if my /etc/crontab contains:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 ** * * rootcd /
Concordo, é o que estou tentanto fazer.
O script é apenas uma forma de amenizar o inpacto da impantação.
Tenho comunicação entre as pontas o tempo todo, quando cai é um trantorno.
O que acontece, é que o meu velox para de funcionar. Quando isso ocorre meu
tunel cuntinua on, porem a conexão nao
-user-portuguese@lists.debian.org
*Enviadas:* Terça-feira, 10 de Novembro de 2009 15:35:20
*Assunto:* Re: CRON.D, teste de VPN nao funciona
Concordo com o Yamane, mas veja também se não está ficando o pid ou o
socket do processo, mesmo depois que ele morre
2009/11/10 Renato S. Yamane yam
que erro seria?
permissão talvez?
2009/11/10 gunix gustavo.gru...@gmail.com
Galera,
seguinte, fiz um script que roda no cron, de 5 em 5 minutos. E checa se a
VPN esta online. Se não estiverm ele reinicia o servidor da VPN.
O Script esta rodando e funcionando. se eu exeuctar vpnckeck, ele
Em 10-11-2009 14:02, gunix escreveu:
seguinte, fiz um script que roda no cron, de 5 em 5 minutos. E checa se
a VPN esta online. Se não estiverm ele reinicia o servidor da VPN.
Seria interessante tentar descobrir o que está fazendo o serviço ficar
offline, e não simplesmente reiniciar o
Concordo com o Yamane, mas veja também se não está ficando o pid ou o socket
do processo, mesmo depois que ele morre
2009/11/10 Renato S. Yamane yam...@diamondcut.com.br
Em 10-11-2009 14:02, gunix escreveu:
seguinte, fiz um script que roda no cron, de 5 em 5 minutos. E checa se
a VPN esta
On 28-mrt-2007, at 4:27, Wu-Kung Sun wrote:
On 3/27/07, Peter Teunissen [EMAIL PROTECTED] wrote:
Hi all,
I've got a strange issue with cron. I try to run a simple script that
calls tar to backup my wiki. I can run the script using sudo, it runs
fine from an entry in cron.d but refuses to
On 3/27/07, Peter Teunissen [EMAIL PROTECTED] wrote:
Hi all,
I've got a strange issue with cron. I try to run a simple script that
calls tar to backup my wiki. I can run the script using sudo, it runs
fine from an entry in cron.d but refuses to run after being dropped
into cron.daily. It's
En fait, il y a tjs plusieurs manière de faire la même chose, j'aurais
aussi pu concaténer mes trois fichiers en un seul, ca marche aussi.
mais bon, je me suis dit que j'allais faire comme ça, et donc voila.
J'aurais put changer vers une autre soluc après avoir constaté que ca
marchais pas,
En fait, il y a tjs plusieurs manière de faire la même chose, j'aurais
aussi pu concaténer mes trois fichiers en un seul, ca marche aussi.
mais bon, je me suis dit que j'allais faire comme ça, et donc voila.
J'aurais put changer vers une autre soluc après avoir constaté que ca
marchais pas,
* Stéphane RATELET [EMAIL PROTECTED] [2003-11-01 20:58] :
Salut à tous,
Pour info (pour ceux qui savent pas), ne jamais nommer de fichier type
truc.machin dans le /etc/cron.d/, car le point fait que le cron n'y
touche pas (je suppose, j'ai pas trouvé de doc encore pour confirmer).
Depuis
Ainsi parla Stéphane RATELET le 305ème jour de l'an 2003:
Salut à tous,
Pour info (pour ceux qui savent pas), ne jamais nommer de fichier type
truc.machin dans le /etc/cron.d/, car le point fait que le cron n'y
touche pas (je suppose, j'ai pas trouvé de doc encore pour confirmer).
On Fri, 4 Oct 2002 00:52:47 +0200
Michał [EMAIL PROTECTED] wrote:
$test = komunikat(Unkown host - reebot);
^^[2]
shut($test, shutdown -r now);
Attila Csosz ([EMAIL PROTECTED]) wrote:
Which file is responsible to start programs from cron.d? /etc/inittab ?
(or..?) After what a period will the programs start from this location?
They're started by cron itself. From 'man cron':
cron also reads /etc/crontab, which is in a
15 matches
Mail list logo