As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<!– 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>
var name = userhome.properties.name