Hello. My original question is how to make beagled run when the system is free. We have a X terminal server, all users beagled process usually start to index the document all together, using up all system resource. Even worse, it does this in working hour. Thank you for every body who provided answer. Dave Cotton provided a very good solution that suits my case very well. He suggested to adjust /etc/sysconfig/cron, setting DAILY_TIME to non-working hour. The result is all daily scheduled task (including beagled) starts in lunch time, and my user no longer get disturbed in working hour. His solution is tested working on my system. 在 2006-08-01二的 09:31 +0800,张韡武写道:
在 2006-07-31一的 17:17 +0200,Dave Cotton写道:
On Mon, 2006-07-31 at 15:13 +0200, Joachim Schrod wrote:
You need to reschedule the cron.daily jobs. If your system is running 24h, it's a good idea to move them to the night.
See http://susewiki.org/index.php?title=Scheduling_daily_cron_jobs
Use the first method, with at.
The other methods on this page are garbage and should be removed completely. Changing the system time is ridiculous, and touch simply doesn't work, no need to try out. If I ever come around, I'll update that page...
Or maybe look at /etc/sysconfig/cron and change the time to something more suitable.
# At which time cron.daily should start. Default is 15 minutes after booting # the system. Due the cron script runs only every 15 minutes, it will only # run on xx:00, xx:15, xx:30, xx:45, not at the accurate time you set. DAILY_TIME="04:00"
Oooops, if this works, then the article on susewiki really needs to be updated, it has to at least mention this method.
I am trying your suggestion (but will only know the result tomorrow:)
-- Dave Cotton <dcotton@linuxautrement.com>
-- 锐业软服(国内业务) http://www.realss.cn Real SoftService http://www.realss.com 销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German, English) 国际业务(International Sales): 0086 10 8460 6011 (German and English) 联系:厦门大学科技园,嘉庚二号楼6楼 邮政:厦门大学2312号信箱(邮编361005)