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.
精彩评论