Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45583
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jsf80238@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.025 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:script': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'approaches.': 0.16; 'subject:run': 0.16; 'two,': 0.16; 'subject:python': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'run': 0.32; 'basic': 0.35; 'one,': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'subject:?': 0.36; 'similar': 0.36; 'two': 0.37; 'how': 0.40; 'to:addr:gmail.com': 0.65; 'subject:day': 0.69; 'day': 0.76 |
| 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:cc:content-type; bh=pv+OKCsthPei0ii5AsR8fRbVYiPkjaa9QqadvnGwUiI=; b=W/wajCbNDFPEhtqpR5npcmNYEGi6fdVxMJFurD2pMU5nlNXQtdsQexdsd2DZJk3tEq 1uiAkAFT0Itblj9QZphB89Sn0LG4l2d9VeBmj9vtAzP9rH5ugmyfBhB2AKDgTLyIbrCJ SHuvebycSOpzJxTFptSfC95D62uPL93ryiCu8jfxiJjkeG/V4feowJZ5HvZw+8iKKhH2 kYFIeI1wjunQNMOJPQWx7EMnBVG2Z4MNACaw8BI88Bbx+640bbsV606RmFoZQbD9BOsb VWhwa9iUQJPegPaOButWozWdkrUZOnii7FoRaKsbFhapoaitchGfbC2UrChsklx5hJXy AYsQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.43.147.137 with SMTP id kc9mr31789692icc.9.1369024035354; Sun, 19 May 2013 21:27:15 -0700 (PDT) |
| In-Reply-To | <8a44bb69-5e8c-4725-a0c8-505b3ecc1d89@googlegroups.com> |
| References | <8a44bb69-5e8c-4725-a0c8-505b3ecc1d89@googlegroups.com> |
| Date | Sun, 19 May 2013 22:27:15 -0600 |
| Subject | Re: How to run a python script twice randomly in a day? |
| From | Jason Friedman <jsf80238@gmail.com> |
| To | Avnesh Shakya <avnesh.nitk@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <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.1856.1369024044.3114.python-list@python.org> (permalink) |
| Lines | 7 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369024044 news.xs4all.nl 15896 [2001:888:2000:d::a6]:44547 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45583 |
Show key headers only | View raw
> How to run a python script twice randomly in a day? Actually I want to run my script randomly in a day and twice only I can think of two basic approaches. One, use crontab or some other similar functionality to call it exactly twice. Two, use crontab or some other similar functionality to call it every minute, and add code to your script to execute exactly twice. Which are you preferring?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to run a python script twice randomly in a day? Avnesh Shakya <avnesh.nitk@gmail.com> - 2013-05-19 20:54 -0700 Re: How to run a python script twice randomly in a day? Jason Friedman <jsf80238@gmail.com> - 2013-05-19 22:27 -0600 Re: How to run a python script twice randomly in a day? Cameron Simpson <cs@zip.com.au> - 2013-05-20 14:12 +1000
csiph-web