Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8624403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:31:18+00:00 2026-06-12T07:31:18+00:00

In my java application i’m processing one lack data per day using cron job

  • 0

In my java application i’m processing one lack data per day using cron job but it cannot be properly do with cron jobs (DeadLineExceedException) and 10 minute is not enough to complete the process. So i would like switch the process to backends.xml. But i don’t know how to move backends.xml. How can i start the process at a fixed time after moving to backends.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:31:19+00:00Added an answer on June 12, 2026 at 7:31 am

    If I understand it correctly, you want your Cron jobs to be executed at your backend in order to have a longer deadline in processing jobs. You can add <target>[backend_version]</target> on the cron job definition in your cron.xml in order to have the cron executed at a specific version of your app.

    Combined with your backends.xml file, this means that you could configure both files as per the following examples:

    backends.xml

    <backends>
    <backend name="longtimeworker">
        <class>B1</class>
        <instances>1</instances>
    </backend>
    

    and

    cron.xml

    <cronentries>
    <cron>
        <url>/longtimeworkingprocesshandler</url>
        <schedule>every 12 hours</schedule>
        <target>longtimeworker</target>
    </cron>
    

    That way, you can configure your cron to be executed at the longtimeworker backend.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My java application uses log4j for logging. Using ant the project builds successfully, but
My Java application deals with large binary data files using memory mapped file (MappedByteBuffer,
I have a standalone java application that fires up several JMS consumers using the
I have created a java application on netbeans 7 .Now By using netbeans ihave
My Java application is developed using HttpClient 3. Is there any advantages of switching
My Java application is currently using ZIP as a project file format. The project
My application is mostly Java but, for certain calculations, uses a C++ library. Our
My Java application receives data through UDP. It uses the data for an online
I cannot get a Java application to run correctly when starting it with sudo.
My Java application needs to send an email out to all users once per

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.