I have an application that tests web services. And I want to run this application every day at 6 pm.
I wonder if it is possible to do this automatically?
*For information: this application is developed with Java, JUnit parameterized tests, maven..., OS: Windows 7 *
You can create schedule task in windows and cron job in UNIX to trigger your application which test web services.
You can do something like this
Provided the server is up and running.
First create an instance of
ScheduledExecutorService
which provides the methodAccordingly calculate the delay ,period and the TimeUnit and the task to be executed