Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleThis will run on Mondays, every hour (i.e. 24 times in one day, but only on Mondays)

0 * * * 1 [command]


The below commands need to add in the system.properties to execute the cron- log file cleaner.

Info
titleAdd these 2 commands in system.properties

log.maxcount=
log.cleaner.cron =

The above commands need to add in the system.properties to execute the cron- log file cleaner.

Example:

log.maxcount= 12
log.Example:

log.maxcount= ( DBSync default log.maxcount=6000, As based on the above explanation please follow the timing syntax to add the max count- (i.e To limit the count of the logs generated)
log.cleaner.cron = (It is based on the user's requirements, please follow the timing syntax to clean all the logs as per the given time frame)

ex:log.cleaner.cron = 0 0/2 * * * ? *

The above commands explains that in every 2 mins 1 log file will be created in logs tab. Once, 12 log files will be created after