From d0cd37de2f8b06271989e9b1fbca61c104f33809 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 27 May 2004 19:32:32 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3458 --- checkin_notes | 6 ++++++ sched/start | 53 +++++---------------------------------------------- 2 files changed, 11 insertions(+), 48 deletions(-) diff --git a/checkin_notes b/checkin_notes index 545986a877..756d67fbb2 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12742,3 +12742,9 @@ David May 27 2004 handle_request.C sched_config.C,h sched_send.C + +David May 27 2004 + - update comments in 'start' + + sched/ + start diff --git a/sched/start b/sched/start index 3982109e64..89c3e4fe57 100755 --- a/sched/start +++ b/sched/start @@ -3,52 +3,9 @@ ## $Id$ ''' -A program to start/stop BOINC server daemons and run periodic tasks - -START parses config.xml and runs and entries. -A config.xml file looks like this: - - - - main_host - ... - - ../ - bin - cgi-bin - log - pid - ... - - - - [ foobar ] - [ ] - feeder -d 3 - - - - - [ foobar ] - [ ] - get_load - get_load.out - 5 min - - - echo "HI" | mail quarl - /dev/null - 1 day - - - - -Tasks: -These 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 directory -which is a path relative to and output to . +A program to start/stop BOINC server daemons and run periodic tasks. +Parses config.xml and runs and entries. +The format of config.xml is described in boinc/doc/configuration.php. The main script is "start"; sym-link or hard-link "start" to "stop", "cron". Invocation methods: @@ -102,14 +59,14 @@ Looks like this: Daemons: - Writes a PID to pid_dir_HOST/command.pid. + Writes a PID to pid_HOST/command.pid. Tasks: Writes a timestamp to run_state_HOST.xml to remember when the task was last run. Both: - A lock file (pid_dir_HOST/command.lock) + A lock file (pid_HOST/command.lock) prevents tasks and daemons from being run again when they are currently running.