c# - SharePoint 2007 timer job -


i have developed custom timer job in sharepoint 2007. issue , timer job executes few times, after stops working , if check status of job stuck on "initialized" mode. if remove , add job definition start working again few times "succeeded" status, after again same issue.

any ideas?

hrayr

it might developing customized content deployment job export , import of contents between different web applications. so, export not performed or perhaps export failed during job execution. there might dependency between different jobs.

i recommend take following actions:

if working import , export timer jobs, try increase span of export timer job 5mins 10 mins. let import run run in short durations e.g. 2mins. start debugging code.

for debugging: important here attach debugger "owstimer.exe" process in visual studio debug code of affected timer service. make sure set breakpoints in code. make sure reset sharepoint timer services after done timer job deployment

you can execute these in cmd:

net stop "windows sharepoint services timer"

net start "windows sharepoint services timer"

good luck


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -