timer-jobs

SharePoint Timer Job not working properly when run on schedule but fine when running manaully

I've got a SharePoint timer job that takes a document library and puts the documents, converts them to PDF and puts them into a SQL server every night. Problem is, the timer job doesn't seem to work when it's called on the schedule. If I install it and then using a little console app I wrote, call execute on the job it works properly. Wh...

Sharepoint Timer Job - Which server does the job execute on?

If I install a (timer job) feature to a Sharepoint front end server within a farm, which server executes the job? All of them? The job is locked at the job level, and the Execute method calls a web service on one specific machine on the farm, which handles all the processing. My question is whether all the front end servers will try and...

scheduling runnable tasks in java

I am following up an interesting question on so, on usage of ScheduledThreadPoolExecutor for some repeating task. Scheduling this object returns a ScheduledFuture object which one can use to cancel the next run of the task. One thing to note here is the task itself is completely decoupled from the schedule-- ScheduledExecutorService...

User-based settings for Custom Timer Job in Sharepoint

I'm trying to create a custom timer job in Sharepoint. The job will send an e-mail message to the users that subscribed. I want to make a settings page for users, so they can change their own preferences for the digest service. For example, how often they want to receive mails (weekly, bi-weekly, monthly etc.), which Sharepoint lists th...

othen than quartz scheduler, what other options or pupular job tools are there?

Other than quartz schedular, what are other popular job services in the Java world? Ideally something that works well with Spring. I am assuming Tomcat can handle this type of scheduling? ...

SharePoint 2007 - Audience.

We have scheduled to execute the Audience (all) compilation job and found that it is failed to complete with the below error: 'The audience cannot be compiled while another job in progress' if we compile the audience manually, it is working perfectly without any issues. Could be due to someother Timer jobs scheduled at that time? or W...

WCF, Timer Jobs, Web Service which is better ???

I am working with a Web application, based on Asp.Net 3.5 and WSS 3.0 platform. Recenlty i've got a task as follows. Import bank statement using FTX - Desktop application and parse those statements into database in every 24 hours ie. i need to download bank statement with the help of a desktop application(which i can call by batch fil...

Timer in a Windows service - not really working?

I have a Windows NT Service in C# which basically wakes up every x seconds, checks to see if any mail notifications need to be sent out, and then goes back to sleep. It looks something like this (the Timer class is from the System.Threading namespace): public partial class MyService : ServiceBase { private Timer _timer; private...

Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE

Hi, i have a timer job which i want to run only once per day, for the entire farm. How do I Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just the one where I want to run it? Where should i activate the feature? Should it be activated only from a particular WFE? What should be ...

What account to use for SharePoint 2010 Timer Job

Hi there, what account do you run the SharePoint 2010 Timer Job service under? Do you use the farm account or a separate one or just local service? Currently I use the farm account but the health analyzer says, it's not a good idea to use an account that has local administration permissions. Regards, Alex ...

JobDefinitions for Timer Jobs in SharePoint

I've hit an issue with creating a timer job on demand from within an event handler. It works fine on my dev machine where the user is also the farm administrator. On the staging server (and production too), this user will be different. Apparently it needs to be a farm admin who creates/updates timer jobs as they have access to the config...

Creating publishing page in in SharePoint timer job throws MissingMethodException

I'm doing a simple news importer for a sharepoint site using timer job that runs every few minutes. The code below runs fine if I run it in a web part but throws MissingMethodException when ran in timer job's Execute method. The full exception: System.MissingMethodException was unhandled by user code Message="No parameterless constru...