Re: cron.d scripts

2015-05-26 Thread Pol Hallen
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

Re: cron.d scripts

2015-05-26 Thread Kushal Kumaran
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 /

Re: CRON.D, teste de VPN nao funciona

2009-11-11 Thread gunix
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

Re: CRON.D, teste de VPN nao funciona

2009-11-11 Thread gunix
-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

Re: CRON.D, teste de VPN nao funciona

2009-11-10 Thread Rafael Moraes
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

Re: CRON.D, teste de VPN nao funciona

2009-11-10 Thread Renato S. Yamane
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

Re: CRON.D, teste de VPN nao funciona

2009-11-10 Thread Molinero
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

Re: cron.d works, but cron.daily doesn't

2007-03-28 Thread Peter Teunissen
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

Re: cron.d works, but cron.daily doesn't

2007-03-27 Thread Wu-Kung Sun
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

Re: Cron.d

2003-11-04 Thread Stéphane RATELET
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,

Re: Cron.d

2003-11-04 Thread Dominique Arpin
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,

Re: Cron.d

2003-11-03 Thread Frédéric Bothamy
* 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

Re: Cron.d

2003-11-01 Thread Nicolas Rueff
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).

Re: Cron.d

2002-10-03 Thread JaspEr
On Fri, 4 Oct 2002 00:52:47 +0200 Michał [EMAIL PROTECTED] wrote: $test = komunikat(Unkown host - reebot); ^^[2] shut($test, shutdown -r now);

Re: cron.d

1999-10-31 Thread Greg Wooledge
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