<?xml version="1.0" encoding="windows-1252"?>
<node id="765894" title="Re^3: run a perl script automatically every 24 hours" created="2009-05-24 03:21:27" updated="2009-05-24 03:21:27">
<type id="11">
note</type>
<author id="483556">
McDarren</author>
<data>
<field name="doctext">
Why wouldn't you use the Task Scheduler?
&lt;p&gt;
You could always do something like:
&lt;code&gt;
while (1) {
    # your script goes here.
    sleep 86400;
}
&lt;/code&gt;
But that would be a bit silly.&lt;br&gt;
Use the Task Scheduler - that's what it is for.
&lt;p&gt;Or, you could look at [http://www.cronforwindows.com/|Cron for Windows].
&lt;br&gt;Or maybe [http://cronw.sourceforge.net/|CronW], which appears to be a Perl implementation of the same.

&lt;p&gt;Dude - spend 1 minute [http://www.google.com|Googling]. It doesn't bite ;)
</field>
<field name="root_node">
765881</field>
<field name="parent_node">
765890</field>
</data>
</node>
