File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Cron Job Vs. Daemon Process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Cron Job Vs. Daemon Process" Watch "Cron Job Vs. Daemon Process" New topic

Cron Job Vs. Daemon Process

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
Does anyone know what is the difference between running a process as one time cronjob and running the process as a Daemon Process?
Gonzalo Nadal

Joined: Dec 08, 2005
Posts: 15
Well, i'm not a expert in this area but i try explain you.

A Cron is a daemon running in your system that call any process you have configure at the time you have configure.
The process call by Cron dont have a special type of programming.Start, make its work and end.

A daemon proccess is make for running all the time, and when "something" happens it makes a new thread that make the work.

L'essentiel est invisible pour les yeux.(Le petit prince)
What is essential is invisible to the eyes.(The Little Prince)
Lo esencial es invisible a los ojos. (El principito)
I agree. Here's the link:
subject: Cron Job Vs. Daemon Process
It's not a secret anymore!