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

Fievet Marc Marc.Fievet at winterthur.be
Thu Mar 3 15:45:59 CET 2005


Ok, thank you.

In the 6 version the scheduler task is described in the opencms-system.xml
like this

<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?

Thank you,
Regards

MARC
-----Original Message-----
From: Thomas Maerz [mailto:thomasmaerz at gmx.de] 
Sent: jeudi 3 mars 2005 10:46
To: The OpenCms mailing list
Subject: [SPAM] - Re: [opencms-dev] Schedule task in alpha 63 - Email has
different SMTP TO: and MIME TO: fields in the email addresses


Fievet Marc <Marc.Fievet at winterthur.be> writes:

> 1. Is it possible to delete a directory, present in the vfs, who is 
> expired (touch function) by the scheduler?

Yes.

> 2. To copy an directory from a place to an other place (for duplicate 
> some
> informations)

Yes.

> and how to?

CmsObject#deleteResource()
CmsObject#publishResource()
CmsObject#copyResource()
CmsObject#getResourcesInTimeRange()


Regards,
Thomas




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

________________________________________________________________________________
Disclaimer - Winterthur Europe Assurances - Avenue des Arts/Kunstlaan 56 - 1000 Brussels (BEL)
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. 
The integrity and security of this message cannot be guaranteed on the Internet.





More information about the opencms-dev mailing list