Deployment scheduled for yesterday

Sep 23, 2009 at 12:55 PM

I have used the installer on my dev machine with WSS and solutions install nice and easily.  I did the same thing on a MOSS server and the solution was added but after 10 minutes had not deployed.  I checked the job in Central Adminsitration and it was scheuled for deployment yesterday.   Looking into the code I see the deploy date is set in the function:

protected static DateTime GetImmediateJobTime()


return DateTime.Now - TimeSpan.FromDays(1);


This will obviously always set the deployment to yesterday, but why do that?  Additionally why does it go straight into deplyment on WSS and stop for MOSS?

Great work by the way, thanks a lot.