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 ]
      [ 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_item("enforce_delay_bound", "Don't send results to hosts too slow to complete them within delay bound"); list_item("show_results", "Enable web site features that show results (per user, host, etc.)"); 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. As well, there may be some tasks you wish to run via cron regardless of whether or not the project is enabled (for example, a script that logs the current CPU load of the host machine). You can do so by adding the <always_run> element (<disabled> takes precedence over <always_run>). "; page_tail(); ?>