is only one class? if yes, put it directly in the classpath of OpenCms.<div><br></div><div>This is required: </div><div>implements org.opencms.scheduler.I_CmsScheduledJob</div><div>and</div><div>public String launch(CmsObject cms, Map arg1) throws Exception {}<br clear="all">
<div><font size="4"><i><br></i></font></div><div><i><font color="#6633ff">Fábio Gomes</font></i></div><div><i><font color="#6633ff">Analista de sistemas - w3bh Tecnologia</font></i></div><div><i><font color="#6633ff"><a href="http://www.w3bh.com.br" target="_blank">http://www.w3bh.com.br</a></font></i></div>
<div><i><font color="#6666cc">+55 31 3447-6201</font></i></div><div><i><font color="#6666cc">skype: fabiogomes.ti</font></i></div><br>
<br><br><div class="gmail_quote">2012/11/12 Robert Weber <span dir="ltr"><<a href="mailto:rw@clt.ag" target="_blank">rw@clt.ag</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
I have some Problems installing a Custom Scheduled Job.<br>
<br>
I did write a class implementing the right interface and compiled it. When I try to create a JAR-File I got the error message that the class does not contain a main-Method.<br>
<br>
Furthermore I do not know where to put the class into the web app directory so OpenCMS does recognize the class correctly.<br>
<br>
Cheers<br>
Robert<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>