Me too. Sometimes I have had problems with running a Python script directly from the task scheduler, so I usually use a small .bat file to start the Python. I will often redirect standard output to a file for logging, then use another Python script to Email the log to myself.<br>
<br><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 7:00 AM, Rickey, Kyle W &lt;<a href="mailto:Kyle.Rickey@bakerhughes.com">Kyle.Rickey@bakerhughes.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I agree with Tim here. I set up a simple script to backup a few files,<br>
then scheduled a task to run daily at 2am.<br>
<font color="#888888"><br>
-Kyle Rickey<br>
</font><div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: <a href="mailto:python-win32-bounces@python.org">python-win32-bounces@python.org</a><br>
[mailto:<a href="mailto:python-win32-bounces@python.org">python-win32-bounces@python.org</a>] On Behalf Of Tim Golden<br>
Sent: Tuesday, March 25, 2008 4:29 AM<br>
Cc: <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
Subject: Re: [python-win32] FTP Task Schedule in Python<br>
<br>
K-Factory wrote:<br>
&gt; I need to automate a scheduled weekly task i.e. downloading a file<br>
from FTP.<br>
&gt; This is to be done on WINDOWS but I am unable to make any further<br>
&gt; development on this as I am stuck with the python scheduler itself.<br>
Can<br>
&gt; somebody help me with this, I just need a skeleton of code further<br>
things I<br>
&gt; can personally input. Also can any one provide me with the link for<br>
any such<br>
&gt; scheduler code or project.<br>
<br>
Is there some reason why you couldn&#39;t use either the<br>
AT service or the Scheduled Tasks service from within<br>
Windows itself? Both are scriptable from the command<br>
line and elsewhere and the pywin32 packages include an<br>
interface to Scheduled Tasks.<br>
<br>
TJG<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br>