Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100153

Re: Python Script - Windows Task Scheduler - Logging

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: Python Script - Windows Task Scheduler - Logging
Date Tue, 08 Dec 2015 14:28:34 +0100
Lines 19
Message-ID <mailman.63.1449581325.12405.python-list@python.org> (permalink)
References <COL402-EAS189BEC6AEDCFB91EB0E8DEE8A090@phx.gbl>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de UHtfueOD/6DArB6vr1ibpgs3QIpjZk5DTsiSJPsTwmQg==
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'subject:Windows': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'bug': 0.10; 'python': 0.10; 'advance!': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'rao': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:t 100': 0.16; 'subject:Logging': 0.16; 'laura': 0.18; 'runs': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'dec': 0.23; 'mon,': 0.24; 'script': 0.25; 'connects': 0.27; 'fine': 0.28; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; 'folder': 0.30; 'task': 0.30; 'related': 0.32; 'maybe': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'except': 0.34; 'this?': 0.34; 'downloads': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'created': 0.36; 'subject:: ': 0.37; 'log': 0.38; 'files': 0.38; 'url:mail': 0.40; 'where': 0.40; 'header:Message-Id:1': 0.61; 'header:In- reply-to:1': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1449581317; bh=RY2YPm3P0rsMp/7ZCqsqWiA7QRCVgl+tlLBf7XcNgdw=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=n39I6EGaU7ayscSBVMZa1wXujUZeWMVF1gVt5xHamM2OPRwYBrr2G17HDf8gNCuSg zAbwIRskJ9rFfqAKUBIujqep452HPqB3UG2qHR8MCON8FsmA9skBuQL+D2MY2kwVL/ hQcLR4lpL/wt28L/xs16S7vKp4BA1zE9KAhBTpy4=
In-reply-to <COL402-EAS189BEC6AEDCFB91EB0E8DEE8A090@phx.gbl>
Comments In-reply-to Raheel Rao <rr.codeproject@outlook.com> message dated "Mon, 07 Dec 2015 23:53:10 +0000."
Content-ID <28242.1449581314.1@fido>
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Tue, 08 Dec 2015 14:28:37 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:100153

Show key headers only | View raw


In a message of Mon, 07 Dec 2015 23:53:10 +0000, Raheel Rao writes:
>Hello there,I created a python script that connects to an ftp and downloads files to a specifed folder and logs each event in a log file. This script works perfectly fine as i want it to however when i put this in a task scheduler, the script runs and downloads the file just fine except that there is no log created. Any suggestions? I remember task scheduler have a bug where you have to put something in "start in". Have been searching froums but so far no luck. Thanks in advance!
>
>-- 
>https://mail.python.org/mailman/listinfo/python-list


Maybe related to this?
tackoverflow.com/questions/20196049/problems-running-python-script-by-windows-task-scheduler-that-does-pscp

Laura

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python Script - Windows Task Scheduler - Logging Laura Creighton <lac@openend.se> - 2015-12-08 14:28 +0100

csiph-web