* [gentoo-user-br] How I find the time
@ 2005-11-01 12:47 Thiago Lüttig
2005-11-01 14:05 ` Felipe Prenholato
0 siblings, 1 reply; 5+ messages in thread
From: Thiago Lüttig @ 2005-11-01 12:47 UTC (permalink / raw
To: gentoo-user-br
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
How I find the exactly time that some script into /etc/cron.daily runs ???
--
______________________________
Atenciosamente,
Thiago Lüttig
______________________________
[-- Attachment #2: Type: text/html, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user-br] How I find the time
2005-11-01 12:47 [gentoo-user-br] How I find the time Thiago Lüttig
@ 2005-11-01 14:05 ` Felipe Prenholato
2005-11-01 14:16 ` Thiago Lüttig
0 siblings, 1 reply; 5+ messages in thread
From: Felipe Prenholato @ 2005-11-01 14:05 UTC (permalink / raw
To: gentoo-user-br
in /etc/crontab file.
OBS: this file not is file edited by the command crontab -e. this file
is used only for /etc/cron.* directories.
One ask. You don't speak portuguese?
bye
chronos.
Thiago Lüttig wrote:
> How I find the exactly time that some script into /etc/cron.daily runs ???
>
> --
> ______________________________
>
> Atenciosamente,
> Thiago Lüttig
>
> ______________________________
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/
--
gentoo-user-br@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user-br] How I find the time
2005-11-01 14:05 ` Felipe Prenholato
@ 2005-11-01 14:16 ` Thiago Lüttig
2005-11-01 14:41 ` Felipe Prenholato
2005-11-01 14:43 ` Felipe Prenholato
0 siblings, 2 replies; 5+ messages in thread
From: Thiago Lüttig @ 2005-11-01 14:16 UTC (permalink / raw
To: gentoo-user-br
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
ahh beleza.. mas da uma olhada no meu /etc/crontab
# for vixie cron
#
# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-
3.0.1-r4 ,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
#
#
# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
On 11/1/05, Felipe Prenholato <philipe_rp@yahoo.com.br> wrote:
>
> in /etc/crontab file.
>
> OBS: this file not is file edited by the command crontab -e. this file
> is used only for /etc/cron.* directories.
>
> One ask. You don't speak portuguese?
>
> bye
>
> chronos.
>
> Thiago Lüttig wrote:
>
> > How I find the exactly time that some script into /etc/cron.daily runs
> ???
> >
> > --
> > ______________________________
> >
> > Atenciosamente,
> > Thiago Lüttig
> >
> > ______________________________
>
>
>
>
>
>
> _______________________________________________________
> Promoção Yahoo! Acesso Grátis: a cada hora navegada você
> acumula cupons e concorre a mais de 500 prêmios! Participe!
> http://yahoo.fbiz.com.br/
>
> --
> gentoo-user-br@gentoo.org mailing list
>
>
--
______________________________
Atenciosamente,
Thiago Lüttig
______________________________
[-- Attachment #2: Type: text/html, Size: 2375 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user-br] How I find the time
2005-11-01 14:16 ` Thiago Lüttig
@ 2005-11-01 14:41 ` Felipe Prenholato
2005-11-01 14:43 ` Felipe Prenholato
1 sibling, 0 replies; 5+ messages in thread
From: Felipe Prenholato @ 2005-11-01 14:41 UTC (permalink / raw
To: gentoo-user-br
sim sim, o meu ta igual, mas saca só:
---------------8<--------------------
# if there is no touch file, make one then run the scripts
if [ ! -e ${LOCKDIR}/cron.$BASE ]
then
touch ${LOCKDIR}/cron.$BASE
set +e
for SCRIPT in $CRONDIR/*
do
if [[ -x $SCRIPT && ! -d $SCRIPT ]]; then
$SCRIPT
fi
done
fi
---------------8<--------------------
Isso ai é parte do código do script /usr/sbin/run-crons.
Ele só executa os scripts dentro dos crondirs se não tiver o
${LOCKDIR}/cron.$BASE relacionado.
Da uma lida no /usr/sbin/run-crons q ti entende melhor.
:wq
chronos
Thiago Lüttig wrote:
> ahh beleza.. mas da uma olhada no meu /etc/crontab
>
>
> # for vixie cron
> #
> # $Header:
> /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4
> ,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
> #
> #
>
> # Global variables
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
> 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
> 1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
> 15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
> 30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
> */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
>
>
> On 11/1/05, *Felipe Prenholato* <philipe_rp@yahoo.com.br
> <mailto:philipe_rp@yahoo.com.br>> wrote:
>
> in /etc/crontab file.
>
> OBS: this file not is file edited by the command crontab -e. this file
> is used only for /etc/cron.* directories.
>
> One ask. You don't speak portuguese?
>
> bye
>
> chronos.
>
> Thiago Lüttig wrote:
>
> > How I find the exactly time that some script into
> /etc/cron.daily runs ???
> >
> > --
> > ______________________________
> >
> > Atenciosamente,
> > Thiago Lüttig
> >
> > ______________________________
>
>
>
>
>
>
> _______________________________________________________
> Promoção Yahoo! Acesso Grátis: a cada hora navegada você
> acumula cupons e concorre a mais de 500 prêmios! Participe!
> http://yahoo.fbiz.com.br/
>
> --
> gentoo-user-br@gentoo.org <mailto:gentoo-user-br@gentoo.org>
> mailing list
>
>
>
>
> --
> ______________________________
>
> Atenciosamente,
> Thiago Lüttig
>
> ______________________________
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/
--
gentoo-user-br@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user-br] How I find the time
2005-11-01 14:16 ` Thiago Lüttig
2005-11-01 14:41 ` Felipe Prenholato
@ 2005-11-01 14:43 ` Felipe Prenholato
1 sibling, 0 replies; 5+ messages in thread
From: Felipe Prenholato @ 2005-11-01 14:43 UTC (permalink / raw
To: gentoo-user-br
sim sim, o meu ta igual, mas saca só:
---------------8<--------------------
# if there is no touch file, make one then run the scripts
if [ ! -e ${LOCKDIR}/cron.$BASE ]
then
touch ${LOCKDIR}/cron.$BASE
set +e
for SCRIPT in $CRONDIR/*
do
if [[ -x $SCRIPT && ! -d $SCRIPT ]]; then
$SCRIPT
fi
done
fi
---------------8<--------------------
Isso ai é parte do código do script /usr/sbin/run-crons.
Ele só executa os scripts dentro dos crondirs se não tiver o
${LOCKDIR}/cron.$BASE relacionado.
${LOCKDIR} é /var/spool/cron/lastrun
$BASE é hourly, daily, weekly ou monthly, ou seja, os 4 arquivos que se
dá rm -f no /etc/crontab.
Da uma lida no /usr/sbin/run-crons q ti entende melhor.
:wq
chronos
Thiago Lüttig wrote:
> ahh beleza.. mas da uma olhada no meu /etc/crontab
>
>
> # for vixie cron
> #
> # $Header:
> /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4
> ,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
> #
> #
>
> # Global variables
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
> 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
> 1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
> 15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
> 30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
> */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
>
>
> On 11/1/05, *Felipe Prenholato* <philipe_rp@yahoo.com.br
> <mailto:philipe_rp@yahoo.com.br>> wrote:
>
> in /etc/crontab file.
>
> OBS: this file not is file edited by the command crontab -e. this file
> is used only for /etc/cron.* directories.
>
> One ask. You don't speak portuguese?
>
> bye
>
> chronos.
>
> Thiago Lüttig wrote:
>
> > How I find the exactly time that some script into
> /etc/cron.daily runs ???
> >
> > --
> > ______________________________
> >
> > Atenciosamente,
> > Thiago Lüttig
> >
> > ______________________________
>
>
>
>
>
>
> _______________________________________________________
> Promoção Yahoo! Acesso Grátis: a cada hora navegada você
> acumula cupons e concorre a mais de 500 prêmios! Participe!
> http://yahoo.fbiz.com.br/
>
> --
> gentoo-user-br@gentoo.org <mailto:gentoo-user-br@gentoo.org>
> mailing list
>
>
>
>
> --
> ______________________________
>
> Atenciosamente,
> Thiago Lüttig
>
> ______________________________
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/
--
gentoo-user-br@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-01 14:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 12:47 [gentoo-user-br] How I find the time Thiago Lüttig
2005-11-01 14:05 ` Felipe Prenholato
2005-11-01 14:16 ` Thiago Lüttig
2005-11-01 14:41 ` Felipe Prenholato
2005-11-01 14:43 ` Felipe Prenholato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox