Class CmsPublishScheduledJob

java.lang.Object
org.opencms.scheduler.jobs.CmsPublishScheduledJob
All Implemented Interfaces:
I_CmsScheduledJob

public class CmsPublishScheduledJob extends Object implements I_CmsScheduledJob
Scheduled job for time based publishing.

This class is called via the front end to publish scheduled a file at a given time.

Per default, it publishes all new, edited and deleted resources in the project which are locked in the current project. For all resources in the project which are not locked by the current user is the lock changed. You are able to perform a link validation before publishing the project by adding the parameter linkcheck=true. It is possible to send an email to a user in OpenCms in case somthing went wrong during this process. To do so specifiy a parametermail-to-user=username_in_opencms. After running this job, the job is deleted. Therefore the job name is to set in the parameter jobname

Since:
7.5.1