[opencms-dev] scheduled tasks
Flavio
flavio.suigo at dinamys.it
Fri Nov 28 09:53:01 CET 2003
I have some problem with scheduled tasks.
This is my log with the error about my scheduled task.
[28.11.2003 09:50:14] <opencms_cronscheduler> Error running job for
com.opencms.core.CmsCronEntry{* * * * * Admin Administrators com.Test}
Error: java.lang.ClassCastException: com.Test
at com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.java:66)
My Java class is:
package com;
import com.opencms.core.I_CmsCronJob;
import com.opencms.file.CmsObject;
public class Test implements I_CmsCronJob {
public String launch(CmsObject cms, String parameter)
throws Exception
{
return null;
}
}
and it's storaged in this folder: C:
\jakarta-tomcat-4.1.12\common\classes\com
What is the problem?
Thank you very much.
Flavio Suigo
More information about the opencms-dev
mailing list