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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:32:33+00:00 2026-06-04T21:32:33+00:00

I need to execute a jsp page after every 30 minutes. I am using

  • 0

I need to execute a jsp page after every 30 minutes. I am using glassfish server. I want to uses cron job for that, but I never work before with cron job.

Please give me any link or example from where I can understand how to configure a cron job for jsp page and execute it after a specific time period?

thanks in advance,
Enamul

  • 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-04T21:32:36+00:00Added an answer on June 4, 2026 at 9:32 pm

    If you simply want to cause the webserver to “execute” a JSP page, you need to send the webserver a suitable HTTP request. The simplest way to do this is to use a command line tool like wget or curl (or the Windoze alternatives). Once you can do that successfully, it is a simple matter to turn that into a cron job.

    Refer to:

    • The documentation of your webserver / webapp to find out what URL to use, the HTTP method type to use, what parameters to send, and so on.
    • The manual entry for wget(1) or curl(1) for how to use these commands.
    • The manual entries for crontab(1) and crontab(5) to find out how to create a cron job.

    Trying to do this in Java is most likely going to make the task more complicated than it needs to be.

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

Sidebar

Related Questions

In SQL Server 2008. I need execute a query like that: DECLARE @x AS
I need execute some code before Windows shutdown process each time. So, I want
I need to execute an SSIS package from an .net application that's on a
I need to execute a function every tot hours, right now I'm doing it
I need to execute the given commands as root and sudo user using Java.
I need some advice on how I am using JQuery, JSP and Lucene to
I need execute an update statement over an sql server table. This table is
I need to execute some JavaScript code when the page has fully loaded. This
I need to execute a SQL query two hours after I insert a row
I need to execute aspnet_compiler from a bat file that I maintain to automate

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.