rs79
rs79

Reputation: 2321

Scheduling script execution in Eclipse

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

Thanks.

Upvotes: 0

Views: 969

Answers (1)

zvikico
zvikico

Reputation: 9825

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.

Upvotes: 2

Related Questions