l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2004 Mar 03 10:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] cron - not at a different time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] cron - not at a different time



On Wed 03 Mar 04,  9:24 AM, Jeff Newmiller <jdnewmil@dcn.davis.ca.us> said:
> On Wed, 3 Mar 2004, Ken Bloom wrote:
> 
> > 
> > On 2004.03.03 04:38, Peter Jay Salzman wrote:
> > > cron is running sometime around 7:30am:
> > > 
> > >  8646 ?        SN     0:00 run-parts --report /etc/cron.daily
> > >  8651 ?        SN     0:00 /bin/sh /etc/cron.daily/checksecurity
> > >  8678 ?        SN     0:00 /usr/bin/perl /usr/sbin/checksecurity
> > >  8714 ?        SN     0:00 /bin/sh /usr/share/checksecurity/check-setuid
> > >  8724 ?        RN     0:06 find / /boot /var /usr/local /home /data -xdev
> > > ( -fal
> > >  8725 ?        SN     0:00 sort
> > >  8733 ?        R      0:00 xterm -class UXTerm -title uxterm -u8
> > > p@satan$ date
> > > Wed Mar 03  7:37 AM
> > > 
> > > 
> > > yet, i think it should at 4:25am if i have my fields correct:
> > > 
> > > 
> > > SHELL=/bin/sh
> > > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> > > 
> > > 17 * * * * root  run-parts --report /etc/cron.hourly
> > > 25 4 * * * root test -e /usr/sbin/anacron || run-parts --report
> > > /etc/cron.daily
> > > 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts --report
> > > /etc/cron.weekly
> > > 52 6 1 * * root test -e /usr/sbin/anacron || run-parts --report
> > > /etc/cron.monthly
> > > 
> > > 
> > > why is the daily cron running at 7:30am?
> > 
> > What time did you start up the machine? The cron jobs will run through  
> > anacron shortly after startup if they haven't been run in a certain time  
> > period. Seeing as how my computer is always shutdown at 4:25am, my daily  
> > cronjobs always run shortly after I start up. If I started up the machine  
> > at 7:25, they'd run at about 7:30.
> 
> Another thought... did you use the "crontab -e" command to make the
> change to the crontab file?
 
excuse my ignorance.  for some reason, this is stuff that just doesn't
get stored into my long term memory...

from the top of /etc/crontab:

# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.


maybe i forgot to restart cron (is that necessary)?  i thought i did.

anyhow, i *definitely* restarted it just now and added another daily
system cron to print out date into /etc/cron.diagnostic.  i've been
waking up very early lately.  i'll see what happens and report tomorrow
morning...

pete

-- 
Make everything as simple as possible, but no simpler.  -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.