New Post: 1st Day of Every Month
Is MonthlyTrigger() no longer a valid constructor? It appears MonthlyTrigger(int dayOfMonth, MonthsOfTheYear monthsOfYear) is the only valid constructor now.
View ArticleNew Post: Last Day of Month Only
Would someone be kind enough to show me the necessary code to create a MonthlyTrigger on the last day of the month only? MonthlyTrigger() no longer appears to be a valid constructor, and it appears...
View ArticleNew Post: 1st Day of Every Month
The default constructor overlapped with the other that has default parameters so the default was removed. It will still work though to just create one as in the example above. You will get a trigger...
View ArticleNew Post: Last Day of Month Only
new MonthlyTrigger(1, this.Trigger.Months) { DaysOfMonth = new int[0], RunOnLastDayOfMonth = true }; I know that seems unintuitive, but it works. Effectively you are allowing the constructor to set...
View ArticleNew Post: Error Scheduling Task on 2008 R2
Trying to schedule a task in Global.asax on a 2008 R2 machine. The task scheduling works fine locally (Win 7), but remotely I get: [COMException (0x80041318): (42,4):Task:]...
View ArticleNew Post: Error Scheduling Task on 2008 R2
Try removing the '.' from the Author tag. I have seen periods screw things up before.
View ArticleNew Post: Error Scheduling Task on 2008 R2
Thanks for the quick response but no luck, just gave that a shot without periods in the Author and still not working.
View ArticleNew Post: Error Scheduling Task on 2008 R2
I made some progress when I added a principal block. I added that block because I tried doing this manually on the machine and exporting and that was the only main difference. The scheduling is...
View ArticleNew Post: Error Scheduling Task on 2008 R2
You can eliminate the Principal block and then use the parameters on the RegisterTaskDefinition method to set those values. The process must have appropriate permissions to connect to the TaskService....
View ArticleNew Post: Creating Tasks per a User Defined Calendar
I have used the Task Scheduler Managed Wrapper to schedule tasks successfully, but now I need to have my daily tasks not run on select days of the year such as holidays. Is there a way to leverage...
View ArticleNew Post: Access denied when scheduling a task from windows phone application
Hi All, I am trying to schedule a job from a windows phone app. The flow is : WP7-> WCF -> scheduletask When i run the task from the wcf test stub (calling it from a asp.net...
View ArticleSource code checked in, #79807
* Started work on an editor for the SDDL * Added optional tabs to TaskPropertiesControl for TaskRegistrationInfo and new 1.3 and 1.4 settings * Fixed problems with TaskPropertiesControl not retaining...
View ArticleNew Post: Creating Tasks per a User Defined Calendar
There is no "exception" trigger function that will prohibit execution of a scheduled task. Two thoughts on how to do this more manually: Instead of scheduling using a single DailyTrigger, you could use...
View ArticleNew Post: Access denied when scheduling a task from windows phone application
The TaskService object, by default, uses impersonation to authorize access. If the WP7 device is not providing a valid Windows session with credentials, you will need to make sure that ASP.NET is...
View ArticleNew Post: Access denied when scheduling a task from windows phone application
Hi, I have been providing appropriate credentials. Infact i am able to schedule it when i run the wcf service independantly. I am using the same set of credentials when running it...
View ArticleNew Post: Creating Tasks per a User Defined Calendar
Thank you dahall. I considered that approach as well. I have decided to approach this problem from the opposite angle. I am going to add the “exception” logic to my Agent application. The Agent will...
View ArticleSource code checked in, #79817
* Added XML comments and component icons and attributes * Updated GroupControls assembly
View ArticleSource code checked in, #79826
* Changed version to 1.9.0 * Consolidated common components between wizard and dialogs into shared custom controls * Added icons and other component level attributes to enhance design-time experience *...
View ArticleNew Post: How to disable "stop task if..."
I have the save problem. When I set ExecutionTimeLimit to TimeSpan.Zero, the checkbox keeps checked, and the time limit is set to 0 hrs 0 mins, the scheduled action will exit immediately after...
View Article