[opencms-dev] scheduled publish a particular resource

Carl Alex Friis Nielsen cfn at kb.dk
Thu Nov 23 10:08:23 CET 2006


-----Original Message-----
From: opencms-dev-bounces at opencms.org@KB On Behalf Of Joe Lam
<joe.lam at moni-media.net>

> since the CmsPublishJob in scheduler publish the whole project.
> I wanna know if I want to schedule publish a particular resource, do we have
> any work around instead of write our own class?

CmsPublishJob only publishishes unlocked resources by default,
so you could lock all resources you dont want to be published,
ensure that all resources you desire to publish are unlocked
and then let CmsPublishJob run at the desired time to publish
the unlocked resources.

Cheers,

Carl



More information about the opencms-dev mailing list