2022.2

Table Of Contents
AspartofthejobproductionprocessPrintShopMailConnectusesadatabaseforintermediatestorage
andalsocreatesvarioustemporary"managed"files.Thesefilesincludedataextractions,configuration
filesandanyintermediatefilescreatedduringtheproductionprocess.Connectkeepstrackofallthese
filesthroughreferencesheldwithintheConnectdatabase.
Allthefilescreatedandthedatabasereferencestothemarestoredforasetamountoftimeinorderto
allowConnecttoreusethem.However,wedonotwanttostoretheseindefinitely,becausethedata-
basewouldrunoutofspace.Thesolutionistousethe"Clean-upService"toremovethetemporary
dataandfilesoncetheyarenolongerneeded.
Themoreitemsthatarepresentinthedatabase,andthelargertheyare,themoretimeandprocessing
power(CPU)thatwillberequiredforcleaningthemup.ThusaregularClean-upofthedatabase(as
oftenaspossible)isrecommended.
Thisisespeciallythecaseifitemsarenotgoingtoberetrievedfromthedatabaseatalaterdate.i.e.If
theConnectjobisnotgoingtobere-run.
Theclean-upcanalwaysbesettorunoutsideofbusinesshours(seethe"Runaccordingtothecron
schedule:EntertheintervalatwhichtheClean-upserviceruns."belowoptionbelow),toreduceimpact
uponProductionsystems.
Thevaluesbelowdefinewhenthespecifiedtargetsaretobesetasbeingreadyfordeletion,notwhen
theyareactuallydeleted.Theactualdeletionoccursonlyasperthecronjobscheduling;orwhen
PrintShopMailConnectisstarted(ifRun at application start upisselected);orwhentheRun Now
buttonispressed.
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.
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.For
PrintShopMailConnecttheDesigneristheonlychoice.
Page 348