From b5b155e5577c5b22bbe8cc7891aa596a56273daf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 26 Apr 2007 20:24:47 +0000 Subject: [PATCH] David 26 Apr 2007 - server: fix bug that causes PHP scripts not to run from Cron Fixes #129. From Christian Beer. html/ops/ update_profile_pages.php tools/ run_in_ops svn path=/trunk/boinc/; revision=12488 --- checkin_notes | 10 ++++++++- doc/client_app_graphic.php | 37 ------------------------------- html/ops/update_profile_pages.php | 3 +++ tools/run_in_ops | 2 +- 4 files changed, 13 insertions(+), 39 deletions(-) delete mode 100644 doc/client_app_graphic.php diff --git a/checkin_notes b/checkin_notes index 7d5cd05b42..1bd8f16b98 100755 --- a/checkin_notes +++ b/checkin_notes @@ -4035,4 +4035,12 @@ Rom 26 Apr 2007 SENSOnNowSubscriptions.h (deleted) SENSSubscriptions.h (deleted) stdafx.h - \ No newline at end of file + +David 26 Apr 2007 + - server: fix bug that causes PHP scripts not to run from Cron + Fixes #129. From Christian Beer. + + html/ops/ + update_profile_pages.php + tools/ + run_in_ops diff --git a/doc/client_app_graphic.php b/doc/client_app_graphic.php deleted file mode 100644 index 074c951d11..0000000000 --- a/doc/client_app_graphic.php +++ /dev/null @@ -1,37 +0,0 @@ - -The graphics API uses a file graphics.xml -that is created and occasionally modified by the -core client or screensaver. -This file has the format -
-    <graphics_info>
-        <do_graphics/>
-        <xsize>500</xsize>
-        <ysize>400</ysize>
-        <full_screen/>
-    </graphics_info>
-
- -

-The graphics API implementation uses a 60 Hz timer. -Every 0.5 sec, it sees if graphics.xml has been modified, and if so parses it. -Every 1/60 sec, it sees if it's time for a new frame, -and if so calls app_render(). -

-Explain graphics modes of apps -

-Explain graphics use of shmem -

-Explain screensaver module -

-Explain screensaver logic in core -"; -page_tail(); -?> diff --git a/html/ops/update_profile_pages.php b/html/ops/update_profile_pages.php index a8608ec0d0..e46a50ffae 100755 --- a/html/ops/update_profile_pages.php +++ b/html/ops/update_profile_pages.php @@ -5,6 +5,8 @@ require_once("../inc/db.inc"); require_once("../inc/gallery.inc"); require_once("../inc/profile.inc"); +echo date(DATE_RFC822), ": Starting\n"; + set_time_limit(0); db_init(); @@ -13,4 +15,5 @@ build_country_pages(); build_alpha_pages(); build_picture_pages(GALLERY_WIDTH, GALLERY_HEIGHT); +echo date(DATE_RFC822), ": Finished\n"; ?> diff --git a/tools/run_in_ops b/tools/run_in_ops index ebde8831d9..695d0609e1 100755 --- a/tools/run_in_ops +++ b/tools/run_in_ops @@ -1,2 +1,2 @@ #! /bin/sh -cd ../html/ops; ${*} +cd ../html/ops; ./${*}