Re: How can I make a program automatically run once per day?

2011-07-27 Thread Chris Angelico
On Wed, Jul 27, 2011 at 2:09 PM, John Salerno johnj...@gmail.com wrote: Thank you. I changed it as suggested so that now it runs C: \Python32\python.exe extract_songs.py but it still isn't working. Have you confirmed that the job's working directory is set correctly? Naming the script without a

Re: How can I make a program automatically run once per day?

2011-07-27 Thread baloan
On Jul 14, 7:00 pm, monkeys paw mon...@joemoney.net wrote: On 7/9/2011 10:01 PM, John Salerno wrote: Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! You could

Re: How can I make a program automatically run once per day?

2011-07-27 Thread Dave Angel
On 01/-10/-28163 02:59 PM, John Salerno wrote: On Jul 26, 9:22 pm, Andrew Bergbahamutzero8...@gmail.com wrote: On 2011.07.26 08:05 PM,JohnSalernowrote: Hmm, okay I'm finally trying Task Scheduler, but how do I set it to run a Python script? It seems to not work, I suppose because it's

Re: How can I make a program automatically run once per day?

2011-07-27 Thread Chris Angelico
On Wed, Jul 27, 2011 at 10:27 PM, Dave Angel da...@ieee.org wrote: As Chris pointed out, you probably aren't getting the script's directory right.  After all, how can the scheduler guess where you put it?  The obvious answer is to use a full path for the script's filename.  Another alternative

Re: How can I make a program automatically run once per day?

2011-07-27 Thread Billy Mays
On 07/27/2011 08:35 AM, Chris Angelico wrote: On Wed, Jul 27, 2011 at 10:27 PM, Dave Angelda...@ieee.org wrote: As Chris pointed out, you probably aren't getting the script's directory right. After all, how can the scheduler guess where you put it? The obvious answer is to use a full path

Re: How can I make a program automatically run once per day?

2011-07-27 Thread John Salerno
On Jul 27, 7:58 am, Billy Mays 81282ed9a88799d21e77957df2d84bd6514d9...@myhashismyemail.com wrote: On 07/27/2011 08:35 AM, Chris Angelico wrote: On Wed, Jul 27, 2011 at 10:27 PM, Dave Angelda...@ieee.org  wrote: As Chris pointed out, you probably aren't getting the script's directory

Re: How can I make a program automatically run once per day?

2011-07-26 Thread John Salerno
On Jul 9, 9:01 pm, John Salerno johnj...@gmail.com wrote: Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! Hmm, okay I'm finally trying Task Scheduler, but how do I

Re: How can I make a program automatically run once per day?

2011-07-26 Thread Ethan Furman
John Salerno wrote: On Jul 9, 9:01 pm, John Salerno johnj...@gmail.com wrote: Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! Hmm, okay I'm finally trying Task

Re: How can I make a program automatically run once per day?

2011-07-26 Thread Andrew Berg
On 2011.07.26 08:05 PM, John Salerno wrote: Hmm, okay I'm finally trying Task Scheduler, but how do I set it to run a Python script? It seems to not work, I suppose because it's running the script but doesn't know how to find Python to run it properly. Tell it to run the Python interpreter and

Re: How can I make a program automatically run once per day?

2011-07-26 Thread John Salerno
On Jul 26, 9:22 pm, Andrew Berg bahamutzero8...@gmail.com wrote: On 2011.07.26 08:05 PM,JohnSalernowrote: Hmm, okay I'm finally trying Task Scheduler, but how do I set it to run a Python script? It seems to not work, I suppose because it's running the script but doesn't know how to find

Re: How can I make a program automatically run once per day?

2011-07-14 Thread monkeys paw
On 7/9/2011 10:01 PM, John Salerno wrote: Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! You could use the below code. time.sleep(# seconds in a day) where i == 30

Re: How can I make a program automatically run once per day?

2011-07-14 Thread Ian Kelly
On Thu, Jul 14, 2011 at 11:00 AM, monkeys paw mon...@joemoney.net wrote: You could use the below code. time.sleep(# seconds in a day) where i == 30 would run once a day for a month import time i=0 while (1):        print 'hello'        time.sleep(2)   # Change this to number of seconds in

Re: How can I make a program automatically run once per day?

2011-07-10 Thread Rafael Durán Castañeda
On 10/07/11 04:01, John Salerno wrote: Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! You may use Celery

Re: How can I make a program automatically run once per day?

2011-07-10 Thread Paul Rudin
John Salerno johnj...@gmail.com writes: I have a script that does some stuff that I want to run every day for maybe a week, or a month. So far I've been good about running it every night, but is there some way (using Python, of course) that I can make it automatically run at a set time each

How can I make a program automatically run once per day?

2011-07-09 Thread John Salerno
I have a script that does some stuff that I want to run every day for maybe a week, or a month. So far I've been good about running it every night, but is there some way (using Python, of course) that I can make it automatically run at a set time each night? --

Re: How can I make a program automatically run once per day?

2011-07-09 Thread Andrew Berg
On 2011.07.09 07:26 PM, John Salerno wrote: I have a script that does some stuff that I want to run every day for maybe a week, or a month. So far I've been good about running it every night, but is there some way (using Python, of course) that I can make it automatically run at a set time

Re: How can I make a program automatically run once per day?

2011-07-09 Thread Ben Finney
John Salerno johnj...@gmail.com writes: is there some way (using Python, of course) that I can make it automatically run at a set time each night? You need to use whatever facilities your operating system has for scheduled events. That's unrelated to the language you use for implementing the

Re: How can I make a program automatically run once per day?

2011-07-09 Thread Alexander Kapps
On 10.07.2011 02:26, John Salerno wrote: I have a script that does some stuff that I want to run every day for maybe a week, or a month. So far I've been good about running it every night, but is there some way (using Python, of course) that I can make it automatically run at a set time each

Re: How can I make a program automatically run once per day?

2011-07-09 Thread Cameron Simpson
On 10Jul2011 03:00, Alexander Kapps alex.ka...@web.de wrote: | On 10.07.2011 02:26, John Salerno wrote: | I have a script that does some stuff that I want to run every day for | maybe a week, or a month. So far I've been good about running it every | night, but is there some way (using Python, of

Re: How can I make a program automatically run once per day?

2011-07-09 Thread John Salerno
Thanks everyone! I probably should have said something like Python, if possible and efficient, otherwise any other method ! :) I'll look into the Task Scheduler. Thanks again! -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I make a program automatically run once per day?

2011-07-09 Thread Benjamin Kaplan
On Sat, Jul 9, 2011 at 6:58 PM, Cameron Simpson c...@zip.com.au wrote: On 10Jul2011 03:00, Alexander Kapps alex.ka...@web.de wrote: | On 10.07.2011 02:26, John Salerno wrote: | I have a script that does some stuff that I want to run every day for | maybe a week, or a month. So far I've been