A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
sceduling a task
Joined: Jan 05, 2011
Feb 14, 2011 01:33:16
I want to schedule a back up of a sql table for a given start time... I have written the back up program and now i want to run it on the time user provided... lets say 4'o clock in the morning... How can I do that?
Joined: Mar 05, 2009
Feb 14, 2011 01:37:43
You can use cron job on linux or Scheduled tasks on windows to run your program.
More cleaner approach would beto use
Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
I agree. Here's the link:
subject: sceduling a task
News of Saturday's banking glitch?
Hibernate Recipes - Review comments?
Wierd networking problems
Struts Action Classes - Presentation or Business Logic Layer?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014