[olug] cron

mesc mescie at home.com
Sun Jul 16 20:24:57 UTC 2000


Also core.find e-mail's me every minute.Don't I have it setup to run only at
1PM?

mesc wrote:

> Thanks guys it was in slocate.I'm stilll having trouble setting up cron
> though.I've read the cron man page over and over and I'm still having no
> luck.This is my crontab file..
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=mescie at home.com
> HOME=/
>
> # run-parts
> 5,10,15,20,25,30,35,40,45,50,55,60 * * * * root /usr/local/etc/logcheck.sh
> * 13 * * * root /tmp/core.find
> #* * * * 00 root /etc/cron.daily/logrotate
> 5,10,15,20,25,30,35,40,45,50,55,60 * * * * root /usr/bin/updatedb
> * * * * * root run-parts /etc/cron.monthly
> # Mandrake-Security : if you remove this comment, remove the next line too.
> 0 0 * * *    root    /etc/security/msec/cron-sh/security.sh
>
> I have logcheck.sh and updatedb set to run every 5 minutes (I think) just so
> they run frequently so I can see if I have them setup properly.I have
> logrotate commented out till I figure out  what it does :)The only one that
> seems to work is the core.find.I'm sure it has something to do with the fact
> that when I run  crontab -l all I see is the core.find file ( * 13 * * * find
> / -name "core*" -exec ls {} \; )How can I get logcheck.sh and updatedb
> recognized by cron?
>
>                 Gary Martin
>
> Brian Roberson wrote:
>
> Check out the slocate rpm
>
> >
> > mesc writes:
> >
> > > While attempting to add updatedb to crontab I took the advice of the
> > > book redhat unleashed and  entered this command.........crontab -l
> > > >/usr/bin/updatedb.....that just overwrote my updatedb file with my
> > > core.find file .......* 14 * * * find / -name "core*" -exec ls {}
> > > \;.....I've looked for updatedb in the rpm section  of my cd and it
> > > doesn't appear to be there.Is there anything I can do to get updatedb up
> > > and running again?
> > >
> > >                     Thank you,Gary Martin
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > > For additional commands, e-mail: olug-help at bstc.net
> > >
> >
> > -_-_-_-_-_-_
> > Brian Roberson
> > brian at bstc.net
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > For additional commands, e-mail: olug-help at bstc.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net


---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list