Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82619
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@evenprimes.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.080 |
| X-Spam-Evidence | '*H*': 0.84; '*S*': 0.00; 'restart': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'assume': 0.14; 'windows': 0.15; '11:59': 0.16; 'cc:name:python list': 0.16; 'helps!': 0.16; 'reason.': 0.16; 'received:10.5.19': 0.16; 'received:10.5.19.251': 0.16; 'received:filter.hostedemail.com': 0.16; 'received:hostedemail.com': 0.16; 'windows:': 0.16; 'wrote:': 0.18; 'options.': 0.19; 'cc:addr:python.org': 0.22; 'from:addr:chris': 0.24; 'script.': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'on,': 0.29; 'dec': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'option.': 0.31; 'option': 0.32; 'url:python': 0.33; 'running': 0.33; 'more,': 0.35; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'scheduled': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'starting': 0.37; 'christian': 0.38; 'handle': 0.38; 'pm,': 0.38; 'little': 0.38; 'url:mail': 0.40; 'around.': 0.60; 'hope': 0.61; 'received:173': 0.61; "you're": 0.61; 'back': 0.62; "you'll": 0.62; "you've": 0.63; 'header:Message-Id:1': 0.63; 'act': 0.63; 'to:addr:gmail.com': 0.65; 'subject:there': 0.68; '2014,': 0.84; 'explorer': 0.84; 'received:216.40': 0.84; 'setups': 0.84; '9:00': 0.91; 'sorry.': 0.91 |
| X-Session-Marker | 6368726973406576656E7072696D65732E636F6D |
| X-Spam-Summary | 2, -10, 0, , d41d8cd98f00b204, chris@evenprimes.com, :::, RULES_HIT:41:355:379:541:564:599:800:901:960:967:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1540:1593:1594:1711:1730:1747:1777:1792:1825:2393:2525:2553:2561:2564:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3657:3865:3867:3868:3870:3872:3873:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4557:5007:6261:7514:7901:8957:9010:9025:9038:9040:9388:10004:10400:10848:11232:11256:11257:11658:11855:11914:12043:12050:12294:12379:12517:12519:12679:13069:13071:13161:13229:13311:13357:21060:21080, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 |
| X-HE-Tag | quiet14_6476f9027517 |
| X-Filterd-Recvd-Size | 1935 |
| Content-Type | text/plain; charset=us-ascii |
| Mime-Version | 1.0 (Mac OS X Mail 8.1 \(1993\)) |
| Subject | Re: Is there a way to schedule my script? |
| From | Chris Cioffi <chris@evenprimes.com> |
| In-Reply-To | <CAAp0bGvfvOTocot=dHkdSrBNj-DAXUm_tY=E1ZJ6wuWATotY+g@mail.gmail.com> |
| Date | Wed, 17 Dec 2014 16:34:02 -0500 |
| Content-Transfer-Encoding | quoted-printable |
| References | <CAAp0bGvQtEGAQ6+_W=a5U883HAsANW0YaDytua4BrBJkgY4CQg@mail.gmail.com> <CAAp0bGvfvOTocot=dHkdSrBNj-DAXUm_tY=E1ZJ6wuWATotY+g@mail.gmail.com> |
| To | Juan Christian <juan0christian@gmail.com> |
| X-Mailer | Apple Mail (2.1993) |
| Cc | python list <python-list@python.org> |
| 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 | <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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17021.1418854251.18130.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1418854251 news.xs4all.nl 2843 [2001:888:2000:d::a6]:42291 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:82619 |
Show key headers only | View raw
Hi Juan, I don't know what platform you're on, but you've got several options. Mac: setup a launchd job, I use http://www.soma-zone.com/LaunchControl/ to do the setups Linux/unix: setup a cron job, depending on your distro launchd may also be an option. Windows: setup a scheduled job in ?? (I don't have a windows box around any more, but there was a "Scheduled Jobs" section in windows explorer back in the XP days. I assume it's still around. In all cases, you'll need to add a little code in your script to STOP at 11:59, but the OS can handle starting the script. The launchd option can also act as a watchdog to also restart the script if it fails for some reason. Hope this helps! > On Dec 17, 2014, at 2:11 PM, Juan Christian <juan0christian@gmail.com> wrote: > > Ops, sorry. > > It's: 9:00 AM ~ 11:59 PM -> Running > > ... and not 9:00 AM ~ 11:50 PM -> Running > -- > https://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Is there a way to schedule my script? Chris Cioffi <chris@evenprimes.com> - 2014-12-17 16:34 -0500
csiph-web