On Wed, 3 Nov 2004 08:41:05 -0800, "Matthew J. Graham"
<[EMAIL PROTECTED]> said:
> Hi,
> 
> I have the following xpl:
> 
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline";
>            xmlns:oxf="http://www.orbeon.com/oxf/processors";
>            xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>  >
> 
>    <!-- Start the scheduled harvesting -->
>    <p:processor name="oxf:scheduler">
>      <p:input name="config">
>        <start-task>
>          <name>Harvest</name>
>          <start-time>now</start-time>
>          <interval>300000</interval>
>          <synchronized>true</synchronized>
>          <processor-uri>oxf/processor/pipeline</processor-uri>
>          <input name="config" url="../harvest/harvest.xpl"/>
>        </start-task>
>      </p:input>
>    </p:processor>
> 
> </p:config>

Take a look at context-initialized.xpl in the examples, it uses
the scheduler. 

Btw, here's the scheduler processor element from it
    <p:processor name="oxf:scheduler">
        <p:input name="config">
            <config>
                <start-task>
                    <name>Task Scheduled From Context Initialization
                    Pipeline</name>
                    <start-time>now</start-time>
                    <interval>3600000</interval>
                    <synchronized>true</synchronized>
                    <processor-uri>oxf/processor/pipeline</processor-uri>
                    <input name="config"
                    url="oxf:/context/scheduled-task.xpl"/>
                </start-task>
            </config>
        </p:input>
    </p:processor>

-- Dan S


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to