For more on Daemon, see Daemon on Wikipedia


A daemon could be described as software process which runs waiting for a condition to match. This is similar in features to a simple cronjob which runs frequently and checks for a conditional match and performs tasks based on the condition, match or other variable.

Simple Example

A simple code example which starts a process which is repeated, like a condition and switch statement. Like a while function

$i = 0;

while ( $condition )
  print("Iteration Count: $i<br />\n");

  if( $i == 42 )
   print("Count == 42<br />\n");


External reference

  • None