• Post Reply Bookmark Topic Watch Topic
  • New Topic

archiving to backup storage devices  RSS feed

 
manish ahuja
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I have a scenario where i want to archive some files to a backup device.
This process is to be carried out only when some other process completes successfully.
The other process(which uses the abov mentioned files) on successful completion logs an entry into a database table. something like this
**************************
JOBTABLE
id status time
-- ------ -----
11 load successful 11-Jan-2004
**************************
Now using this entry in the database table i want to schedule the above operation of archiving to the backup device 7 after the entry in the time column of the Jobtable
How can i acheive this. Can someone give some lead how to go about it
Rgrds
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are doing a backup thru java? Why?
Job scheduling isn't something java or other programming language does, it's usually falls to the operating system itself. You can use crontab or at command on unix, or job scheduler on windows, I also believe there is some java based job scheduling library out there too.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!