06-10-2011 07:18 AM
06-10-2011 08:07 AM
<!– Run a job daily at 8.30 to send out an email about expiring agreements –>
<bean id="scheduledExpringAgreements" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>org.alfresco.repo.jscript.ExecuteScriptJob</value>
</property>
<property name="jobDataAsMap">
<map>
<entry key="scriptLocation">
<bean class="org.alfresco.repo.jscript.ClasspathScriptLocation">
<constructor-arg>
<value>alfresco/module/demo/context/scripts/scheduledExpiringAgreements.js</value>
</constructor-arg>
</bean>
</entry>
<entry key="scriptService">
<ref bean="ScriptService"/>
</entry>
<entry key="authenticationComponent">
<ref bean="authenticationComponent"/>
</entry>
</map>
</property>
</bean>
<bean id="scheduledExpiringAgreementsTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<ref bean="scheduledExpringAgreements" />
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<property name="cronExpression">
<value>0 30 8 * * ?</value>
</property>
</bean>
06-11-2011 03:08 AM
10-13-2011 12:59 PM
10-15-2011 02:25 AM
var name = userhome.properties.name
to get the userhome
05-31-2012 06:27 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.