Tuesday, August 10, 2010

Maven Remote Windows Scheduled Task

Just a quick Maven / Windows config I came across the other day, I have recently switched teams and they are using Maven and Hudson to control some of their server tasks. I figure it could come in handy sometime.

To start and stop a Windows Scheduled task from a Maven pom, actually using the ant run plugin

Replace the [Server Name] and [Task Name] obviously.


  1. You gotta love maven. It makes me so happy. It's like remembering my favorite holiday resort when you're sitting at work (making head or tail of scatty ant files)...

  2. Just wait for the Cargo Maven plugin post :) just working out a couple little things, hard at work without access to the central repos... but starting an app server and creating all the data sources and other config from a POM executed from hudson is awesome


Popular Posts