PDA

View Full Version : <cronentries>


Blaine0002
11-24-2006, 01:57 PM
can somone tell me how to use the <cronentries> in a product xml?

I tried making a cron in a product and exporting it, but I only got the phrases :(

Gryphon
02-19-2007, 10:44 PM
I am looking for information on this myself.

Update: Figured it out.

<phrases>
<phrasetype name="Scheduled Tasks" fieldname="cron">
<phrase name="task_yourVarname_title" date="" username="" version=""><![CDATA[Cron Title]]></phrase>
<phrase name="task_yourVarname_desc" date="" username="" version=""><![CDATA[Cron Description]]></phrase>
<phrase name="task_yourVarname_log" date="" username="" version=""><![CDATA[Cron Log Phrase]]></phrase>
</phrasetype>
</phrases>
<cronentries>
<cron varname="yourVarname" active="1" loglevel="0">
<filename>./includes/cron/yourCron_file.php</filename>
<scheduling weekday="-1" day="-1" hour="-1" minute="0,10,20,30,40,50" />
</cron>
</cronentries>