Home » Category » Change Schedule Time

Change Schedule Time

You can change the time the PaperCut will perform it's nightly maintenance by using the Config Editor. By default this is set to 0 15 1 * * ?.

Format

The format of the value is a string comprised of 6 fields separated by white space. Fields can contain any of the allowed values, along with various combinations of the allowed special characters for that field. The fields are as follows:

 Field Name	Mandatory	Allowed Values
 Seconds	YES		0
 Minutes	YES		0-59
 Hours		YES		0-23
 Day of month	YES		1-31 ?
 Month		YES		1-12 or JAN-DEC ?
 Day of week	YES		1-7 or SUN-SAT ?

The question mark (?) is useful when you need to specify something in one of the two fields in which the character is allowed, but not the other. For example, if I want my maintenance to run on a particular day of the month (say, the 28th), but don't care what day of the week that happens to be, I would put "28" in the day-of-month field, and "?" in the day-of-week field.

 0 15 1 * * ? - Daily 1:15AM
 0  0 4 * * ? - Daily 4:00AM
 0  0 2 * * 1 - Sunday 2:00AM

Making changes

To make this change perform the following steps:

  1. Log into the PaperCut administration interface.
  2. Navigate to Options -> Config editor (advanced).
  3. Search for the key schedule.daily-maintenence.
  4. Change the Value to N.
  5. Press Update.
Page last modified on June 08, 2010, at 01:48 AM

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.