Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why did you need to log in to fire it off instead of having a scheduled job?

Now, I was pretty sure you could use WMI to do this, and looking around I found this -

http://4sysops.com/archives/three-ways-to-run-remote-windows...

and this

http://blog.commandlinekungfu.com/2009/05/episode-31-remote-...

Remote PowerShell is probably 'the way' Microsoft will be pushing now

http://msdn.microsoft.com/en-us/library/windows/desktop/ee70...



That's a good question. The best answer is that the configuration needs to be a version controllable artifact just as much as your code is. Further, Windows Scheduler is known to drop jobs from time to time[1].

What was happening is that there was a job controller running on Linux that needed to contact the Windows machine and boot the job into action. One solution would have been to install a Jenkins slave instance, which turned out to be the solution eventually adopted.

[1] It's been a few years since I studied this, but it was a known issue in '08/09 or so.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: