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
This commit is contained in:
David Anderson 2007-04-26 20:24:47 +00:00
parent a974166670
commit b5b155e557
4 changed files with 13 additions and 39 deletions

View File

@ -4035,4 +4035,12 @@ Rom 26 Apr 2007
SENSOnNowSubscriptions.h (deleted)
SENSSubscriptions.h (deleted)
stdafx.h
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

View File

@ -1,37 +0,0 @@
<?php
require_once("docutil.php");
page_head("Screensaver/core/app interaction (graphics)");
echo "
INCOMPLETE AND OUT OF DATE
<p>
The graphics API uses a file <b>graphics.xml</b>
that is created and occasionally modified by the
core client or screensaver.
This file has the format
<pre>
&lt;graphics_info>
&lt;do_graphics/>
&lt;xsize>500&lt;/xsize>
&lt;ysize>400&lt;/ysize>
&lt;full_screen/>
&lt;/graphics_info>
</pre>
<p>
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 <tt>app_render()</tt>.
<p>
Explain graphics modes of apps
<p>
Explain graphics use of shmem
<p>
Explain screensaver module
<p>
Explain screensaver logic in core
";
page_tail();
?>

View File

@ -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";
?>

View File

@ -1,2 +1,2 @@
#! /bin/sh
cd ../html/ops; ${*}
cd ../html/ops; ./${*}