config.xml in the project's directory. A config.xml file looks like this:
",
htmlspecialchars("

  
    main_host
    x
    x
    x
    x
    x
    x
    x
    x
    x
    x
    x
    [  ]
    [  ]
    [ 10
    ../     
    bin             
    cgi-bin
     ...
  
  
    
      [ foobar ]
      [ 1 ]
      feeder -d 3
    
  
  
    
      [ foobar ]
      [ 1 ]
      get_load
      get_load.out
      5 min
    
    
      echo \"HI\" | mail quarl
      /dev/null
      1 day
    
  

"),
"
The elements are: "; list_start(); list_item("host", "name of project's main host, as given by Python's socket.hostname(). Daemons and tasks run on this host by default."); list_item("db_name, etc.", "Database connection info"); list_item("shmem_key", "ID of scheduler shared memory. Must be unique on host."); list_item("download_url", "URL of data server for download"); list_item("download_dir", "absolute path of download directory"); list_item("upload_url", "URL of file upload handler"); list_item("upload_dir", "absolute path of upload directory"); list_item("cgi_url", "URL of scheduling server"); list_item("one_result_per_user_per_wu", "If present, send at most one result of a given workunit to a given user"); list_item("disable_account_creation", "If present, disallow account creation"); list_item("max_wus_to_send", "Maximum results sent per scheduler RPC"); list_end(); echo " Tasks are periodic, short-running jobs. <cmd> and <period> are required. OUTPUT specifies the file to output and by default is COMMAND_BASE_NAME.out. Commands are run in the <bin_dir> directory which is a path relative to <project_dir> and output to <log_dir>.

Daemons are continuously-running programs. The process ID is recorded in the <pid_dir> directory and the process is sent a SIGHUP in a DISABLE operation.

Both tasks and daemons can run on a different host (specified by <host>). The default is the project's main host, which is specified in config.host A daemon or task can be turned off by adding the <disabled> element. "; page_tail(); ?>