Tag Info

New answers tagged

0

Try to run this to check if the schedule is right: Get-SPTimerJob -WebApplication "http://yourWebAppUrl" | select Name, DisplayName,Schedule | where-object{$_.Name -eq "TimeJobName"} | ft -autosize Myabe someone fired it manually? or maybe is it fired programmatically?


-1

Refer my blogpost on this. I have provided sample code.


0

Recently I found myself in the scenario, that send mail using SharePoint Designer when when an item is modified by one of the users from the given list. After Googling it on internet I found this blog which was very helpful. Summary: In such scenario, instead of selecting People/Group from SharePoint site, select workflow lookup for a user, Select The list ...


0

Try to define this constructor: public SendMailDaily SPWebApplication application) : base(JobName, application, null, SPJobLockType.Job) { } and then use it: SendMailDaily job = new SendMailDaily(site); instead of SendMailDaily job = new SendMailDaily(JobName, site);


0

I also received this kind of error before while deploying webpart, so i used powershell to add solution, that time it shown the actual error that my SharePoint_Config log file was full. You can check below two scenario: 1) Your sharepoint_config log file is not full and you have diskspace on server. 2) The account you are using to deploy solution has ...


0

Try below function string GetTimerJobStatus(string timerJobName) { string schedule = string.Empty; SPSecurity.RunWithElevatedPrivileges(() => { SPWebApplication webApp = SPContext.Current.CurrentWeb.WebApplication; foreach (SPJobDefinition job in webApp.JobDefinitions) { if ...


1

var spFarm = SPFarm.Local; var timerJob = spFarm.TimerService.JobDefinitions.OfType<SPJobDefinition>().FirstOrDefault(n => n.Name == "Timer Job Name"); and then take a look at timerJob.Schedule object.


0

I configured stored procedure to run from SQL. The stored procedure name is [proc_DeleteOldTimerJobHistory] which is available in sharepoint_config database.


0

I hope below link will help you https://bhandariasb.wordpress.com/2013/08/07/how-to-prevent-sharepoint-timer-jobs-from-running-multiple-times/


1

If the timer job is gone, the only way (apart from re-installing the entire farm) to get the deleted timer job back is to run the SharePoint Products Configuration Wizard which will re-install the missing timer job. Reference: Restoring the Out of the Box Timer Jobs


0

May be this is not related to this post, but recently I have read an article about how to check if an item is modified by list of people in a workflow. Which was very helpful.


0

Better way is to configure the "Target Application Type" as Group, and defining the SharePoint Timer Service account in the Members field. This way Timer Jobs can access the credentials without the hassle of having to create "Individual" Secure Store Credentials - credentials for those are not really meant to be defined beforehand by the administrator.



Top 50 recent answers are included