[rc5] Speed freeks with Cyrix, AMD, PPro or RISC machines ?

Ivo Janssen ivo at ricardis.tudelft.nl
Fri Aug 15 20:51:04 EDT 1997

On Fri, 15 Aug 1997, Richard Freeman wrote:

> On Fri, 15 Aug 1997, Brian Foddy wrote:
> > Set up a crontab to launch it every day at 5:00pm, then set
> > the preferences to stop after 15 hours.  Works fine.  It
> > does leave a whole on weekends but its better than nothing.
> > 
> You could simply adjust the crontab to relaunch appropriately on weekends.
> There would be a little overlap (twice 15 is 30, not 24), but they would
> each run with 50% CPU - no problem as long as they are niced
> appropriately.  You could also install two copies - one configured for 15
> hrs and another for 24hrs - just launch the 24hr version on Fri afternoon,
> Sat afternoon, and on Sun launch the regular weekday version (which will
> terminate Mon morning).

My cron does:
0 7 * * mon-fri		do_working_hours.sh
0 0 * * sat-sun		do_all_day.sh

In this shellscript you could do a sed-replace for the # of hours to
run. Works for me!

Again: command-line options...


To unsubscribe, send email to majordomo at llamas.net with 'unsubscribe rc5' in the body.

More information about the rc5 mailing list