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 3596590
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:00:28+00:00 2026-05-18T20:00:28+00:00

Hi: In my application,I have to export tomcat log to database. So I tried

  • 0

Hi:
In my application,I have to export tomcat log to database.

So I tried to start two schedulFixedDate task:

1)at 00:05:00 of everyday,export data of nearest 30 days(exclude today(current day)),all these data are put in one table.This is the first schedule task

2)first remove all the data in the “log_today” table,then export log of current day to “log_today” table hour by hour,at 01:00/02:00/03:00/… this is another schedule task;

My question is should the two task be separated with the other? or they should executed by some order?

  • 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-05-18T20:00:29+00:00Added an answer on May 18, 2026 at 8:00 pm

    Depends on your use case.

    If you need task 1 to finish before task 2, then scheduling at a fixed time/date won’t work, because you cannot be sure Task 1 completed. So, in this case it would make sense to run them as a single schedule, and perform task 2 immediately after task 2.

    If task 2 does not rely on task 1, then put them as two fixed schedules, as it is clearer and therefore easier to maintain.

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

Sidebar

Related Questions

Hi: In my application,I have to export tomcat log to database. So I tried
Hi i have application where i have to export grid data on a page
I have implemented export data from GridView to excelsheet functionality in .net application. and
So I have an 'export' application that arrives the user at an end page
I have this application I'm developing in JSP and I wish to export some
i have a web application that export CSV and i logged in as admin
I want to have a one-click excel export feature for my application. I therefore
I see an application have used Log.info = some info where are these logs
This is the code that i have to export data to Excel. Dim oExcel
I have a CSV export script (enrdata_arch.php) which calls information from an existing database

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.