How to update the lists using the timer jobs?

Hi,
I'm new to sharepoint developing
Using the timer jobs the items which are present in the one list must get updated in the another list and also should be overwritten.
For example:
If there 10 items present in a X list. After some time period the first five of X should get updated in Y  list . After some more time the next 5 items of X has to overwrite the items present in the Y list.
Regards,
Santto.

Hi Santto,
The following articles and code examples would be helpful.
SharePoint 2010 Custom Timer Job
https://code.msdn.microsoft.com/office/SharePoint-2010-Custom-416cd3a1
SharePoint Add/Update/Delete List Item Programmatically to SharePoint List using C#
http://www.sharepointblog.in/2013/04/add-new-list-item-to-sharepoint-list.html
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • How to disable the timer job for "Database Statistics"

    I want to disable the database statistics timer job using the powershell, but I cant find the exact name of it in the list of timer jobs.
    tried
    Get-SpTimerjob to manually look for it Get-SPTimerJob SPDatabaseStatisticsJobDefinitionor and also looked for staadmin name job-database-statistics
    I even tried to look for it in the list of timer job definitions for a web application with no luck.
    I want to disable the timerjob, so that I can run proc_DefragmentIndices on sharepoint config and SharePoint admin databases.
    SELECT DB_ID() AS [sharepoint_admincontent_cab0c190-db30-4f2c-8b71-504b81d2b5d1];
    GO
    SELECT * FROM sys.dm_db_index_physical_stats
        (1, NULL, NULL, NULL , 'DETAILED');
    1 1131151075
    1 1
    CLUSTERED INDEX
    IN_ROW_DATA 2
    0 52.6315789473684
    1 1131151075
    1 1
    CLUSTERED INDEX
    IN_ROW_DATA 2
    1 0
    1 1131151075
    2 1
    NONCLUSTERED INDEX
    IN_ROW_DATA
    2 0
    80
    Thanks
    Nate

    Thank you Trevor, 
    As per this blog (http://www.houberg.com/2008/05/16/sharepoint-database-indexes-and-statistics/) it seems like
    Microsoft allows this (not explicitly though)
    I ran the Health Analyzer rule  for "Databases used by SharePoint have fragmented Indexes" for all servers.
    I am still seeing a lot of cluster and non clustered indexes having avg_fragmentation_in_percent
     > 60%.
    SELECT * FROM sys.dm_db_index_physical_stats (7, NULL, NULL, NULL , 'DETAILED');
    I finally thought that I should rebuild the indexes to fix the issue, but please suggest if that is not the correct approach to resolve the high fragmented indexes.
    thanks
    Nate

  • How to update the time zone for Asuncion, Paraguay.

    It recently changed (03/23/2014) from the daylight saving time to the normal and now the appointments are displayed in the wrong schedule.
    Is there any update available to fix this?

    Hi py-cjgaston,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  Click on the link to see more details and screenshots. 
    International settings - iPhone
    http://help.apple.com/iphone/7/#/iph3dd6171a
    Go to Settings > General > International to set the following:
    The region format (date, time, and telephone number)
    The calendar format
    Also, confirm your date and time settings:
    iOS: Troubleshooting issues with date and time
    http://support.apple.com/kb/ts3920
    Cheers,
    - Judy

  • How we can update the time profile ?

    Hello,
    How we can update the time profile daily in PP/DS ?
    This time profile we need in the background job scheduling.
    Please suggest

    Hi Sunil,
    The Time Profile is first to be maintained by going to the current settings (S_AP9_75000087) and creating one Time Profile as per your requirements.Here you define the Display Period and Planning Periods. If you create Relative days/weeks/ months then it is calculated in relation to the current date.So for example if you want to view 10 weeks in past and 20 weeks in future from today, you give the Start Date as -10 and End date as +20.after selecting Relative month/week/day in the Daye column.
    Similar method is used for both the Display Period and Planning Period. Preferably ristrict the Display period.
    You also have the option of Absolute time where you enter the start date and the finish date as an absolute value in the set period type.This will hard code the dates for you.
    This Profile which you have created needs to be attached to Detailed Scheduling Planning Board - View 1/2/3 which ever you want to use by going to the Profile icon on the top and in the pop up click on the More profiles Tab and putting this value in the Time Profile Box.
    Thanks,
    Harsh

  • How to update the data in sqlserver table using procedure in biztalkserver

    Hi,
    Please can any one answer this below question
    how to update the data in sqlserver table using procedure in biztalkserver
    while am using executescalar,typedprocedure getting some warning
    Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
    Please send me asap....
    Thanks...

    Hi Messip,
    A detailed error would have helped us to answer you more appropriately but
    You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
    http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    2013: Inserting RawXML (Whole Incoming XML Message) in SQL database

  • How to update the FB01L transaction using the FM  bapi_acc_document_post

    Hi All,
            How to update the FB01L transaction using the bapi_acc_document_post but there is no ledger group field in the bapi function module.
    Please help me how to do it.

    hi,
    use batch input method for the same.
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19107237&messageID=884744]

  • How to update the iTunes in the iPad using the I pad

    How to update the iTunes in the iPad using the I pad?

    Then you cannot update without Conecting to iTunes on a computer.
    The Over the Air Feature is only available on iOS 5 or later.
    You have iOS 4... See Here...
    http://support.apple.com/kb/HT4972
    OR...
    Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch

  • How to update the ztable by using table handling function

    how to update the ztable by using table handling function
    It is very urgent ...............................
    thanks in advance

    see the  below code for the direct   ztable update
    Report  ZUPDATE_PRPS.
    tables: zprps.
    parameter: p_wbs like zprps-pspnr,
               p_value like zprps-fakkz default 'X'.
    data: wa_fakkz type zprps-fakkz.
    *START-OF_SELECTION
    start-of-selection.
    call function 'CONVERSION_EXIT_ABPSP_INPUT'
         exporting
             input     = p_wbs
        importing
             output    = p_wbs
        exceptions
             not_found = 1
             others    = 2.
    select single fakkz
      into wa_fakkz
      from zprps
    where pspnr eq p_wbs.
    if sy-subrc eq 0.
       update zprps set fakkz = p_value where PSPNR eq p_wbs.
       if p_value is initial.
         message i999(za) with 'Billing element field has been unchecked'.
       else.
         message i999(za) with 'Billing element field has been checked'.
       endif.
    else.
      message i999(za) with 'WBS element not found'.
    endif.
    reward  points if it is usefull .....
    Girish

  • How to update the test case result in MTM using C#

    Hi
    I have tried the following code but when I execute the same I am getting the testcase result as "In Progress".
    How to update the testcase execution result as Passed.
    I tried the below code:
    public
    static
    void UpdateResult()
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(server));
    ITestManagementService tms = tfs.GetService<ITestManagementService>();
    ITestManagementTeamProject proj = tms.GetTeamProject(project);
    ITestPlan Plan = proj.TestPlans.Find(1);
    ITestRun testRun = proj.TestRuns.Create();
    testRun = Plan.CreateTestRun(false);
    ITestPointCollection points = Plan.QueryTestPoints("SELECT
    * FROM TestPoint");
    foreach (ITestPoint
    p in points)
    testRun.AddTestPoint(p,Plan.Owner);// null);
    testRun.State = TestRunState.Completed;
    testRun.Save();
    ITestCaseResultCollection results = testRun.QueryResults();
    ITestIterationResult iterationResult;
    foreach (ITestCaseResult
    result in results)
    iterationResult = result.CreateIteration(1);
    foreach (ITestStep
    testStep in result.GetTestCase().Actions)
    ITestStepResult stepResult = iterationResult.CreateStepResult(testStep.Id);
    stepResult.Outcome = TestOutcome.Passed;   
    iterationResult.Actions.Add(stepResult);
    iterationResult.Outcome = TestOutcome.Passed;
    result.Iterations.Add(iterationResult);
    result.Save();
    results.Save(true);
    testRun.Save();
    testRun.Refresh();

    Hi Mohammed,
    Sorry for my delay.
    According to your code, I have been modified your code in my side and it can work fine. So you can refer the following code to check your issue in your side.
    Reference:
    publicstaticvoidUpdateResult()
    TfsTeamProjectCollectiontfs
    = newTfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(server));
    ITestManagementServicetms
    = tfs.GetService<ITestManagementService>();
    ITestManagementTeamProjectproj
    = tms.GetTeamProject(project);
    ITestPlanPlan = proj.TestPlans.Find(1);
    IStaticTestSuitesuite
    = Plan.RootSuite.SubSuites.Where(s
    => s.Id == 1339).First()
    asIStaticTestSuite;
    ITestCasetestcase
    = null;
    testcase
    = suite.Entries.Where(e
    => e.Title == "login").First().TestCase;
    ITestRuntestRun
    = project.TestRuns.Create();
    testRun
    = Plan.CreateTestRun(false);
    ITestPointCollectionpoints
    = Plan.QueryTestPoints("SELECT * FROM TestPoint WHERE TestCaseId ="+
    testcase.Id);
    foreach(ITestPointp
    inpoints)
    testRun.AddTestPoint(p,
    Plan.Owner);// null);
    //testRun.AddTestPoint(p, null);
    testRun.State =
    TestRunState.Completed;
                testRun.Save();
    ITestCaseResultCollectionresults
    = testRun.QueryResults();
    ITestIterationResultiterationResult;
    foreach(ITestCaseResultresult
    inresults)
                    iterationResult = result.CreateIteration(1);
    foreach(ITestSteptestStep
    inresult.GetTestCase().Actions)
    ITestStepResultstepResult
    = iterationResult.CreateStepResult(testStep.Id);
                        stepResult.Outcome
    = TestOutcome.Passed;   
                        iterationResult.Actions.Add(stepResult);
                    iterationResult.Outcome
    = TestOutcome.Passed;
    result.Iterations.Add(iterationResult);
    result.Outcome
    = TestOutcome.Passed;
    result.State = TestResultState.Completed;
    result.Save(true);
    testRun.Save();
    testRun.Refresh();
    Note: you will need to
    base on your requirement to modify the code such as modify the testsuite id and title in your side.
    In addition, I find a blog about TFS API that can help you:
    # Code snippets on Test Management APIs
    http://blogs.msdn.com/b/aseemb/archive/2012/08/07/code-snippets-on-test-management-apis.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to update the ztable using screen.

    hi experts,
    i have one ztable with 8 fields
    and i created one screen with 8 fields
    how to update the ztable using this screen menas when i press the some push button in my screen the table should update.
    Devi

    hi
    check the link shown below
    Coding & screen shots of how to update a database table from screen(Module poool)
    http://www.scribd.com/doc/15628693/moduleprog090311165111phpapp011
    in the attachment u will find
    data  : begin of i_ysrtmm occurs 0,
            sno type ysrtmm-sno,
            sname type ysrtmm-sname,
            scity type ysrtmm-scity,
            sedu type ysrtmm-sedu,
            spercent type ysrtmm-spercent,
            select(1),
            end of i_ysrtmm.
    in the SE51 click on layout & in that menu goto - secwindow- enter the internal table i_ysrtmm
    and click on get from program.u will get all the fields of the internal table select all of them except
    SELECT  field  and then drag and drop on table control . double click on the table control u see the attributes screen there in the w/colselect enter i_ysrtmm-select for tab selection of table control.
    Regards

  • How to update the Ztable using modulepool Tablecontrol...

    Hi All,
    could anyone help me how to update the Ztable using modulepool Tablecontrol...
    if it is possible give me a example with code..
    Many thanks in advance...!!
    Rajesh

    Hi,
    For that pls refer to the link:
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac3735c111d1829f0000e829fbfe/frameset.htm
    Also refer the sample program:
    RSDEMO02
    Then for updating:
    modify the internal table(which u used to populate the tabcntrl) from the table control.
    Then update database table like:
    update dbtab from table itab.
    Regards,
    Renjith Michael.

  • How to Update the oracle toad column value in table by using SSRS 2008

    Hi Team,
    How to update the oracle DB table column value by using SSRS 2008.
    Can any one help me on this.
    Thanks,
    Manasa.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, you want to use SSRS to update data in database table. Right?
    Though Reporting Services is mostly used for rendering data, your requirement is still can be achieved technically. You need to create a really complicated stored procedure. Pass insert/delete/update and the columns we need to insert/delete/update as
    parameters into the stored procedure. When we click "View Report", the stored procedure will execute so that we can execute insert/delete/update inside of the stored procedure. Please take a reference to two related articles below:
    Update Tables with Reporting Services – T-SQL Tuesday #005
    SQL Server: Using SQL Server Reporting Services to Manage Data
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to update the field EKET-WEMNG (delivered) in database using BAPI.

    Dear All,
    How to update the values to good received field for EKET WEMNG (delivered) in database using BAPI and please give me the standard bapi and explain the process  how to update to database bcoz am new to bapi concepts and i will be thankful to your help.
    Regards,
    Tazeer.

    this field is only updated when you do a goods receipt. 
    So the only BAPI that can do this is the BAPI GoodsMovement  (BUS2017)

  • I have App Store 1.0. MacUpdate Desktop tells me there is a new version 1.0.1. How do I update App Store. MU only takes me directly to App Store. Not much help there, as I don't find how to update the App Store itself. Please write me at guki@broadpark.no

    I have App Store 1.0. MacUpdate Desktop tells me there is a new version 1.0.1. How do I update App Store. Mac Update only takes me directly to App Store. Not much help in that, as I don't find how to update the App Store itself.
    Regards
    Guttorm Kittelsen
    <Edited by Host>

    Thank you for your advice.
    Actually, I am aware that the upgrade is implemented in 10.6.7. However, up until now I haven't been able to upgrade to Mac OS X 10.6.7, as I have software that is not yet compatible. So I wondered how to do it within 10.6.6? May be it is not possible? Anyway, this gave me a push to track the software I use for compatibility, and I found that an update for 10.6.7 now is ready for download, so then I will probably solve two issues at the same time. Takes a little work though. Thank you again for your advice.

  • How to update the payload of a BPEL process instance

    Hi I have another question.
    How do I update the payload of a BPEL process instance without the activity being a Human Task. I know there are ton's of example showing how to update the payload of a user task using BPEL API's. But in my case I need to update the payload of a BPEL process instance which has no human task.

    Thanks
    For confirming that the payload in the BPEL process instance is read-only. Now I can see what alternatives I come up with besides the DB save option.
    Guys if you can take the time to answer/comment on another question I have posted in this forum that will be great
    here is the link
    Multi step Human Task
    Regards,
    Jayesh Nazre
    MCSD, MCSE, SCJP, PMP

Maybe you are looking for

  • Open and Save Dialogs Slow to Open and Populate

    In all of my apps, the Open and Save dialogs have become very slow to open and populate since installing Snow Leopard, when the machine is connected to a Windows server. Disconnecting from the server solves the problem; reconnecting causes it to reap

  • Ultra 2 prom update

    I performed a Solaris 8 2/02 install on my ultra 2. After doing so it gave me the warning about the 64 bit os being installed, but running 32 bit version. After reading about this and I performed the prom update as per the Solaris 8 2/02 Sun Hardware

  • SpacesWebService proxy security failure when deployed in weblogic server

    Hi all, I plan to use the SPacesWebservice by creating a webservices proxy. A proxy client was created and I passed on appropriate security information. public static void main(String[] args) { try { spacesWebService_Service = new SpacesWebService_Se

  • Dock Display resets itself; Overheating; Loosing Bookmarks w/ Firefox

    Hello, I need help and was wondering if anybody might have an idea of what is going on with my iBook which is 2 years old. Up until a week ago I had no problems whatsoever with the laptop and all of a sudden things seem very strange... 1) I am loosin

  • Erreur de téléchargement. Réessayez ou contactez le service de clientèle

    Bonjour Depuis deux mois, je ne peux plus mettre à jour mes applications. Le panneau "Apps" de Creative Cloud m'indique systématiquement : "Erreur de téléchargement. Réessayez ou contactez le service de clientèle". J'ai essayé plusieurs fois les solu