cvs commit: src/usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c

Yar Tikhiy yar at FreeBSD.org
Sun May 16 12:29:35 PDT 2004


yar         2004/05/16 12:29:33 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/cron/cron   cron.8 cron.c cron.h do_command.c 
  Log:
  Add two new options to cron(8), -J and -j.  They allow to specify
  the maximum amount of time jitter for root and other users, respectively.
  Before starting a job, cron(8) will sleep a random number of seconds,
  from 0 to the amount specified.  This can help to smooth down load spikes
  when a lot of jobs are to start at the beginning of a particular minute
  (e.g., the first minute of an hour.)
  
  PR:             bin/66474
  Submitted by:   Dmitry Morozovsky <marck <@> rinet.ru>
  
  Revision  Changes    Path
  1.21      +23 -0     src/usr.sbin/cron/cron/cron.8
  1.15      +17 -3     src/usr.sbin/cron/cron/cron.c
  1.15      +4 -0      src/usr.sbin/cron/cron/cron.h
  1.22      +7 -0      src/usr.sbin/cron/cron/do_command.c


More information about the cvs-src mailing list