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

Jeff Newmiller vox-tech@lists.lugod.org
Wed, 3 Mar 2004 09:24:30 -0800 (PST)


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?

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------