开发者

Scheduling script execution in Eclipse

Does Eclipse provide a way to开发者_Go百科 schedule the execution of a Java script? (e.g., if I need to schedule a script at 6 am, every day...)

Thanks.


I'm not familiar with any built-in service. Nevertheless, Eclipse is written in Java, so there's no problem writing your own Java code for doing this. You can use the Timer class to schedule your code execution.

You "script" should be enclosed in an Eclipse plug-in. Use the Activator.start to schedule your process when the plugin loads.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜