Re: cyrus squat + change runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Hi,
   this is a part of the cyrus.conf. Thanks for right kick to right way.

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" period=1440

  # -JMAT- 070410 SQUAT je indexovaci file pro rychle vyhledavani mezi mboxy
  # Bude pusten 1x za 24 hodin
  squatter cmd="squatter -r user" period=1440

  # Uncomment the next entry, if you want to automatically remove
  # old messages of EVERY user.
  # This example calls ipurge every 60 minutes and ipurge will delete
  # ALL messages older then 30 days.
  # enter 'man 8 ipurge' for more details

  # cleanup      cmd="ipurge -d 30 -f" period=60
}

I presume if I add after "period" argument "at" argument with hours I wanna to run:

  squatter cmd="squatter -r user" period=1440 at=0300

  Is it all right ?
  Thanks.
  J.K.

Cituji Bron Gondwana <brong@xxxxxxxxxxx>:

On Wed, Oct 20, 2010 at 07:16:33AM +0200, Josef Karliak wrote:
  Hi there,
  it is possible to change runtime of the cyrus squatter ? I've
restarted cyrus service at 12:45 PM - in this time is a lot of users
logged in and system is a little "slower". So I wanna to change its
time. It is possible or I have to remember and wake up in the
midnight and restart cyrus to change squatter runtime ? :)

Can you show us your cyrus.conf?

   EVENTS
This section lists processes that should be run at specific intervals, similar to cron jobs. This section is typically used to perform scheduled cleanup/maintenance.

       cmd=<no default>
The command (with options) to spawn as a child process. This string argument is required.

       period=0
The interval (in minutes) at which to run the command. This integer value is optional,
            but SHOULD be a positive integer > 10.

       at=<hhmm>
The time (24-hour format) at which to run the command each day. If set to a valid time (0000-2359), period is automatically set to 1440. This string argument is optional.


So if you put in an "at=" item instead of a period, you should be set.

Bron.




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: binNw0ZMuvjLQ.bin
Description: =?iso-8859-2?b?VmX4ZWpu/Q==?= PGP =?iso-8859-2?b?a2zt6A==?=

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux