Skip to content
Code-Schnipsel Gruppen Projekte
database.xml 1,25 KiB
Newer Older
Henning Leutz's avatar
Henning Leutz committed
<?xml version="1.0" encoding="UTF-8"?>
<database>

    <global>
        <table name="cron">
Henning Leutz's avatar
Henning Leutz committed
            <field type="INT( 3 ) NOT NULL AUTO_INCREMENT PRIMARY KEY">id</field>
            <field type="TINYINT( 1 )">active</field>
            <field type="VARCHAR( 60 ) NOT NULL">title</field>
            <field type="VARCHAR( 128 ) NOT NULL">min</field>
            <field type="VARCHAR( 128 ) NOT NULL">hour</field>
            <field type="VARCHAR( 128 ) NOT NULL">day</field>
            <field type="VARCHAR( 128 ) NOT NULL">month</field>
            <field type="VARCHAR( 128 ) NOT NULL">dayOfWeek</field>
Henning Leutz's avatar
Henning Leutz committed
            <field type="TEXT NOT NULL">exec</field>
            <field type="TEXT NOT NULL">params</field>
            <field type="DATETIME NULL">lastexec</field>
Henning Leutz's avatar
Henning Leutz committed
        </table>
Henning Leutz's avatar
Henning Leutz committed
        <table name="cron_history">
            <field type="INT( 3 ) NOT NULL">cronid</field>
            <field type="INT( 11 ) NOT NULL">uid</field>
            <field type="DATETIME NULL">lastexec</field>
Henning Leutz's avatar
Henning Leutz committed
        </table>

        <table name="cron_cronservice">
            <field type="INT( 3 ) NOT NULL">cronid</field>
            <field type="INT( 11 ) NOT NULL">uid</field>
            <field type="DATETIME NULL">lastexec</field>
        </table>
Henning Leutz's avatar
Henning Leutz committed
    </global>

</database>