Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82609
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <juan0christian@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'third-party': 0.04; 'that?': 0.05; 'assuming': 0.09; 'subject:script': 0.09; 'wrote:': 0.18; 'module': 0.19; 'command': 0.22; 'separate': 0.22; 'to:2**1': 0.27; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'program,': 0.31; 'way?': 0.31; 'probably': 0.32; 'run': 0.32; 'could': 0.34; 'common': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'signal': 0.60; 'john': 0.61; 'such': 0.63; 'subject:there': 0.68; 'to:addr:gordon': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=xs7U6ZrANwDbkd3N2or72BTeYNu1c/zfuC1w9ItSRyE=; b=BEZsBmL35AEEDP+3dSDS5K4zaNs5+2tRvXtxUnT0SLoCGC5KrDS7P6OaH5lKu44tY5 Cb8vAa4m/K50crukt1BzF6DYJYLAa5vIxqDOwu1GgVW37z+ZyMkdkdo1qvlJPo1nZOz9 bemepZRVhBmKUkafqtv+l8mE84LbKYJVQfNqSobxQ1QlGXY+ZO+xpAnk54G2o1SCAkLM oVO9adR1WGSXrGEVG/uI6mGfrAv6wu301tRyxgyCiTmYQhVpca1bb697uwishEMsIZoH MxFvwU3D/DcXiqy96q9MKSJa6dUHSdWy1q2QTfFlJcfJzK2phfnaZprSqZxyYjJsxzPu jIlQ== |
| X-Received | by 10.50.82.66 with SMTP id g2mr9922709igy.19.1418845917851; Wed, 17 Dec 2014 11:51:57 -0800 (PST) |
| MIME-Version | 1.0 |
| References | <mailman.17010.1418843457.18130.python-list@python.org> <m6sm9d$5es$1@reader1.panix.com> |
| From | Juan Christian <juan0christian@gmail.com> |
| Date | Wed, 17 Dec 2014 19:51:57 +0000 |
| Subject | Re: Is there a way to schedule my script? |
| To | John Gordon <gordon@panix.com>, python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e0111b848ecb826050a6ecebb |
| 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.17012.1418845926.18130.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1418845926 news.xs4all.nl 2879 [2001:888:2000:d::a6]:58817 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:82609 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Wed Dec 17 2014 at 5:45:31 PM John Gordon <gordon@panix.com> wrote: You could write a separate program whose only job is to send a STOP or CONTINUE signal to your main program, and then run that program from a scheduler. The standard system "kill" command would probably work for this purpose, assuming you have access to your main program's process ID. There isn't any 'prettier' way? Such as a built-in or third-party module for something common like that?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-17 19:10 +0000
Re: Is there a way to schedule my script? John Gordon <gordon@panix.com> - 2014-12-17 19:41 +0000
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-17 19:51 +0000
Re: Is there a way to schedule my script? John Gordon <gordon@panix.com> - 2014-12-17 20:23 +0000
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-17 20:42 +0000
Re: Is there a way to schedule my script? Chris Angelico <rosuav@gmail.com> - 2014-12-18 08:34 +1100
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-17 21:47 +0000
Re: Is there a way to schedule my script? Michael Torrie <torriem@gmail.com> - 2014-12-18 09:45 -0700
Re: Is there a way to schedule my script? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-18 10:39 +1100
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-18 01:04 +0000
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-18 12:37 +0000
Re: Is there a way to schedule my script? Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-18 09:23 -0700
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-18 22:13 +0000
Re: Is there a way to schedule my script? Chris Angelico <rosuav@gmail.com> - 2014-12-19 12:32 +1100
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-19 01:55 +0000
Re: Is there a way to schedule my script? Terry Reedy <tjreedy@udel.edu> - 2014-12-19 00:58 -0500
Re: Is there a way to schedule my script? Josh English <Joshua.R.English@gmail.com> - 2014-12-18 09:13 -0800
Re: Is there a way to schedule my script? Juan Christian <juan0christian@gmail.com> - 2014-12-18 18:29 +0000
csiph-web