2022.2

Table Of Contents
schedule:EntertheintervalatwhichtheClean-upserviceruns."onthefacingpageoptionbelow),to
reduceimpactuponProductionsystems.
Thevaluesbelowdefinewhenthespecifiedtargetsaretobesetasbeingreadyfordeletion,notwhen
theyareactuallydeleted.Theactualdeletionoccursonlyasperthecronjobscheduling;orwhenPlan-
etPressConnectisstarted(ifRun at application start upisselected);orwhentheRun Nowbuttonis
pressed.
l
Enable clean-up service:ChecktoenabletheClean-upservices.Whenchecked,eitherorboth
oftheDatabase clean-upandFile clean-upservicescanbesetindividually.
Iftheboxisnotchecked,thennoClean-upwilloccur.
l
Run at application start up:Clicktostarttheclean-upservicewhentheDesignermoduleis
opened,ortheManagingServiceisstarted.
l
Run according to the cron schedule:EntertheintervalatwhichtheClean-upserviceruns.
Tounderstandhowtowriteacronjobschedule,pleaserefertotheQuartzSchedulertutorial:
http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/tutorial-lesson-06.html.
IftheProduct managing the serviceissettoDesigner,thentheDesignermust be run-
ningatthetimethatthecronjobisscheduled,fortheClean-uptorun.
l
Product managing the service:Selectwhichoftheapplicationswillruntheservice.
Note: TheServer Engineissetasthedefaultasitisgenerallyconsideredthebestoption.
Thisisparticularlythecasewhenusingascheduledcronjob,astheSeverEngineis
alwaysrunning,whilsttheDesignermightwellnotbeatthescheduledtime(inwhichcase
theclean-upwillfailtorun).
l
Database Clean-up Service:
l
Allow database clean-up service:SelectthischeckboxtoenablethedatabaseClean-up
settings,andenabletheactualclean-up.
l
Threads to use for database deletions:ThenumberofThreadstobeusedinthe
clean-up.PlanetPressConnectisamulti-threadedapplication,andtheclean-upis
likewise.
Tip: Thedefaultnumberofthreadsisconsideredthebestcompromiseforrun-
ningbothclean-upandproductionjobssimultaneously.Ifexperiencesuggests
thattheclean-upisnotrunningefficiently,thenuppingthenumberofthreads
herewouldberecommended.Conversely,ifproductionappearstobe
Page 784