Maximo Open Forum

 View Only
Expand all | Collapse all

If Crontask gets stck and scheduled to run every 5 mins, will it reprocess the previous records?

  • 1.  If Crontask gets stck and scheduled to run every 5 mins, will it reprocess the previous records?

    Posted 04-14-2023 04:35

    Hi,
    I have created a crontask to process some images with a frequency of 5 mins. Suppose if out of 50 images only 40 got processed and 10 did not, will those ten and additional 50( second batch) get processed when cron runs after 5 mins( after the first run)?

    Please share your reviews 


    #Administration
    #Analytics
    #Architecture
    #Assets
    #CivilInfrastructure
    #Customizations
    #EndUser
    #EverythingMaximo
    #HSE/OilandGas
    #Infrastructure
    #Integrations
    #Inventory
    #IoT
    #LifeScience/Calibration
    #Linear
    #MaximoApplicationSuite
    #MaximoForAviation
    #MaximoUserGroups
    #Mobility
    #Nuclear
    #Procurement
    #Reporting
    #Scheduling
    #Security
    #ServiceProvider
    #Spatial
    #Transportation
    #Utilities
    #WorkCenters
    #WorkManagement

    ------------------------------
    Deepa P
    ------------------------------


  • 2.  RE: If Crontask gets stck and scheduled to run every 5 mins, will it reprocess the previous records?

    Posted 04-14-2023 09:54

    Are you talking about an out of the box cron task or something custom? Generally speaking, a cron task will run to completion and the next one won't start until the first run is complete. For example, if you're configured to run every 5 seconds but it always takes 5 minutes to complete, Maximo will effectively only run the cron task every 5 minutes. You normally wouldn't run into a situation where 40 of 50 get processed unless you have an exception that causes the cron task to stop. 



    ------------------------------
    Steven Shull
    IBM
    ------------------------------



Featured Podcast
Episode 1 is live: IBM Maximo Application Suite 9.2

Watch or listen to Steven Shull and Phil Runion discuss the practical MAS 9.2 updates Maximo teams should know.

Watch the Podcast
MORE by Naviam Episode 1 cover
Watch the latest episode