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


Groups > comp.lang.python > #45508

Re: python script is not running

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:not': 0.03; 'explicit': 0.07; 'interpreter.': 0.07; 'subject:script': 0.09; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=z+HqdY5i3yMpC/NRNlRV8JjmSbHNMvpw1SfpLJiZ6RA=; b=w1wrW9mY2N2U10c1KF3VwSyZRDWjUpXS5V6fLvE0Z0iZtlIux+Q+4lsLW06ZqclZl5 1+VnZoqtwbb2U7Wi522Hur+vS8MyJsj2JCXMIwyiAg2bIYMZQJNsrXBQ/pQ6YyrbGNFB q3HZM9Cl4btAq8+UAdYY73JuqZi+Mzs7ryfTpts7FS6nR2AC5MM9gaJGMtQDyqDNgyZM POpkl4KtwKNN2Ked+eYjl0Y0z5mY6DOeBbhzTy87xyCA3j/WvbuVfiW2jVzZekRCtmxj 4Nrs+n+IcJBrgnFrfdAv22JioRwat2S1zoE9NjMw4+NpT2gzAQico5yjzXhSLH/k6y+r /bmQ==
MIME-Version 1.0
X-Received by 10.52.175.200 with SMTP id cc8mr26922613vdc.94.1368883683210; Sat, 18 May 2013 06:28:03 -0700 (PDT)
In-Reply-To <bb111639-6a94-4151-a153-9bbebe75a4ea@googlegroups.com>
References <bb111639-6a94-4151-a153-9bbebe75a4ea@googlegroups.com>
Date Sat, 18 May 2013 23:28:03 +1000
Subject Re: python script is not running
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1801.1368883685.3114.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368883685 news.xs4all.nl 15999 [2001:888:2000:d::a6]:44637
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45508

Show key headers only | View raw


On Sat, May 18, 2013 at 8:12 PM, Avnesh Shakya <avnesh.nitk@gmail.com> wrote:
> avin@hp:~$ crontab -e
> then type -
> */2 * * * * python /home/avin/data/try.py
>

You may need to put an explicit path to your Python interpreter. Type:

$ which python

and put that into your crontab.

ChrisA

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


Thread

python script is not running Avnesh Shakya <avnesh.nitk@gmail.com> - 2013-05-18 03:12 -0700
  Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-18 23:28 +1000
    Re: python script is not running Roy Smith <roy@panix.com> - 2013-05-18 09:44 -0400
  Re: python script is not running Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-18 12:35 -0400
  Re: python script is not running woooee <woooee@gmail.com> - 2013-05-18 10:35 -0700
    Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-19 03:59 +1000
    Re: python script is not running Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2013-05-18 20:43 +0200
    Re: python script is not running Chris Angelico <rosuav@gmail.com> - 2013-05-19 09:33 +1000

csiph-web