jQuery in Action, 3rd edition
The moose likes Threads and Synchronization and the fly likes Creating service or daemon in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Creating service or daemon in Java " Watch "Creating service or daemon in Java " New topic

Creating service or daemon in Java

Raj Bansilal Champaneriya
Ranch Hand

Joined: Dec 17, 2011
Posts: 36

Hello Ranchers,

I have to work on a project called Backup and Recovery. In that I have to provide a functionality of schedule backup.
So I thought of creating a service or daemon that will invoke my tool at scheduled time.

Am I going in right direction? Your valuable suggestion is welcomed. Thanks
Tim Moores

Joined: Sep 21, 2011
Posts: 2409
Sounds like a job for cron (on Unix/Linux) or Task Scheduler (on Windows).
It is sorta covered in the JavaRanch Style Guide.
subject: Creating service or daemon in Java
It's not a secret anymore!