[SPAM] - Re: [opencms-dev] Schedule task in alpha 63 - Email has different SMTP TO: and MIME TO: fields in the email addresses

Joachim Arrasz info at arrasz.de
Thu Mar 3 16:11:49 CET 2005


Hi,

><scheduler> 
>            <job> 
>             <name>Jobs name</name> 
>             <class>complete.path.to.your.scheduler.class</class> 
>             <cronexpression>0 0/5 * * * ?</cronexpression> 
>             <context> 
>                 <user>Admin</user> 
>                 <project>Offline</project> 
>             </context> 
>            </job> 
>        </scheduler> 
>
>How to integrate "CmsObject#copyResource()","CmsObject#deleteResource()" in
>the xml file?
>  
>

well you just have to write your own schedulerclass which implements the 
interface
I_CmsScheduledJob

Then develop what you need ...

after uploading the compiled class in the module you have to edit the

<class> Tag to your needs.

That´s it

hth

Joachim Arrasz

Synyx oHG Karlsruhe Germany



More information about the opencms-dev mailing list