Date: Wed, 23 Apr 2003 16:33:50 -0700 From: Dave Tweten <tweten@nas.nasa.gov> To: mobile@freebsd.org Subject: Really Slow Cron Job Message-ID: <3973.1051140830@gilmore.nas.nasa.gov>
next in thread | raw e-mail | index | archive | help
I leave my ThinkPad X21 running and connected to the net almost all the time. Through the services of /etc/weekly.local, it does a full backup and then a complete cvsup and build of STABLE world, kernel, docs, and ports skeletons and databases, all in the wee dark hours every Saturday morning. At least that's the way it's supposed to work, and the way it does work when I run the script manually. Then, it takes a just a few hours (dominated by backup compression). When it is run by Cron, it takes all day Saturday, all day Sunday, and until I log in Monday. If I log in over the weekend, it completes quickly. When I changed the script to put timestamps in the log files, it looked like the machine ran quickly while accessing the net (to transfer the full backup or to do the cvsups). It then slowed way down for the make steps. My operating guess is this has something to do with power management. Can anyone enlighten me? If it's power management, can I turn it off from /etc/weekly.local and then turn it back on at the end? If there is a way, I haven't been able to find it. Any help will be appreciated. -- M/S 258-5 |1024-bit PGP fingerprint:|tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59| (650) 604-4416 Moffett Field, CA 94035-1000| 7C 80 10 20 25 C7 2F E6|FAX: (650) 604-4377 We each earn what freedom of speech we defend for those who most offend us.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3973.1051140830>