Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.076 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.01; 'example:': 0.03; 'subject:script': 0.09; "(it's": 0.16; '->': 0.16; '11:59': 0.16; 'possible?': 0.16; 'bit': 0.19; 'script': 0.25; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'another': 0.32; 'running': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'subject:?': 0.36; 'stopped': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'such': 0.63; 'subject:there': 0.68; '24/7/365': 0.84; 'ugly,': 0.84; '9:00': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=mFkIN9ly/R4bevLUm5RXDy++SogcadRp3bnbGp1EOGc=; b=BLxt+nkvnqg5GjqaOiUzjsyQLXCrF9qGd6i/pSCkPujqKc+u0ECf69WeiKhOCzzphg OOpjPERaXIjwgq/FPX9gcWhHGQxfCf+4/zQG7pEMNIsAnLq9pCenMJXE9E6GeiZI+Aff vZGuAVaKMA3Wt/BDVdgkk8tLeoijc7sfA/awjUaD4UfQhU7caZ/m387JStNZJt2nHdk+ 0bXdqlWKRCB8CABDvmnGMNETl70Gr9X6oGG906RO9dcRhuZ8cANV8ChPZ+hCZsBSrbSH A4BnnLKIMoSZbfpaRbtjEVnB7d2cKG95m8pJohSjquKhZgrZvZoGeTQXeYedw1S0YFCh 5jGQ== X-Received: by 10.50.30.202 with SMTP id u10mr9709885igh.35.1418843454857; Wed, 17 Dec 2014 11:10:54 -0800 (PST) MIME-Version: 1.0 From: Juan Christian Date: Wed, 17 Dec 2014 19:10:54 +0000 Subject: Is there a way to schedule my script? To: Python Content-Type: multipart/alternative; boundary=047d7b874b2c1e67eb050a6e3cc4 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418843457 news.xs4all.nl 2839 [2001:888:2000:d::a6]:48050 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82606 --047d7b874b2c1e67eb050a6e3cc4 Content-Type: text/plain; charset=UTF-8 I know about the schedule modules and such but they work in situations like 'run this in a X hours/minutes/seconds interval', I already have my code in a while loop with sleep (it's a bit ugly, I'l change to a scheduler soon). What I really want is, for example: 24/7/365 9:00 AM -> Start 11:59 PM -> Stop 9:00 AM ~ 11:50 PM -> Running 12:00 AM ~ 8:59 AM -> Stopped I want my script to start at a given time and stop at another given time, is that possible? --047d7b874b2c1e67eb050a6e3cc4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I know about the schedule modules and such but they work in situations like= 'run this in a X hours/minutes/seconds interval', I already have m= y code in a while loop with sleep (it's a bit ugly, I'l change to a= scheduler soon).

What I really want is, for example:

24/7/365
9:00 AM -> Start
11:= 59 PM -> Stop

9:00 AM ~ 11:50 PM -> Running<= /div>
12:00 AM ~ 8:59 AM -> Stopped

I want = my script to start at a given time and stop at another given time, is that = possible?
--047d7b874b2c1e67eb050a6e3cc4--