Tag Info

New answers tagged


I'm not sure if it's possible to configure a timer job in such a way to only fire on given dates, however, you could configure your timer job to run daily but include a date check as the first action in the job. DateTime date = DateTime.Now; if (date.Day.Equals(2) || date.Day.Equals(28)) { // It's either the 2nd or 28th of the month! // Put the ...


There is no way to schedule timerjob by date. You should create daily timerjob and check if today is the 2nd or 28th day.


You can create an SPSite Object using URL using(SPSite site = new SPSite("http://intranet/staffdirectory")) { using(SPWeb web = site.OpenWeb()) { SPList list = web.Lists["SiteAssets"]; SPListItems items = list.Items; foreach(SPListItem item in items) { //Logic to rename file item.File.CheckOut(); ...


No, you cannot create timer jobs in O365 using NAPA tools. NAPA simply allows to creates SharePoint Hosted apps using browser. The tool is very restricted compared to Visual Studio.

Top 50 recent answers are included