On Wed, 13 Jan 1999, Michael E. Touloumtzis wrote:

> On Tue, Jan 12, 1999 at 10:10:33PM -0500, [EMAIL PROTECTED] wrote:
> > I have cron installed, and I'm sure it should be running things that I'm not
> > currently running - like the locate database update.  My problem is, I'm on 
> > a
> > laptop, and I shut it down when I'm done with it.  So, is there a way to get
> > the cron stuff to run manually?  Or possibly at bootuptime?
> 
> I use anacron on my home machine, because it is powered up only a few
> hours (or even minutes) a day and would miss regularly scheduled cron
[snip]
> 
> But that may NOT what you want for a laptop.  The last thing you want if
> you're running off a battery is for a bunch of (ana)cron jobs to start
> and suck up all the battery juice by exercising the disk drives!

My solution to the "battery drain" problem would be to install anacron but
remove the anacron symlink from /etc/rc2.d/.  Then, if you have ac power
and don't mind anacron running, type "linux 3" at the LILO prompt which
will take you to runlevel 3 and do the anacron stuff.  You could change
the default runlevel in /etc/inittab, and you can change the timeout and
other things for the lilo prompt in /etc/lilo.conf.

HTH,
Brandon

+---                                                              ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |

Reply via email to