Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94781 > unrolled thread

using sched

Started byNkansah Rexford <seanmavley@gmail.com>
First post2015-07-30 08:57 -0700
Last post2015-07-30 18:49 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  using sched Nkansah Rexford <seanmavley@gmail.com> - 2015-07-30 08:57 -0700
    Re: using sched Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-07-30 21:45 +0200
      Re: using sched Nkansah Rexford <seanmavley@gmail.com> - 2015-07-30 18:49 -0700

#94781 — using sched

FromNkansah Rexford <seanmavley@gmail.com>
Date2015-07-30 08:57 -0700
Subjectusing sched
Message-ID<420b4f03-0eb5-4f22-ae51-0018ebd613a7@googlegroups.com>
Using sched, how can I run a function, at for instance, exactly 00:00 GMT, and only that time.

If sched wouldn't be the best to do so a job, please can you recommend something?

[toc] | [next] | [standalone]


#94787

FromIrmen de Jong <irmen.NOSPAM@xs4all.nl>
Date2015-07-30 21:45 +0200
Message-ID<55ba7ebd$0$2857$e4fe514c@news.xs4all.nl>
In reply to#94781
On 30-7-2015 17:57, Nkansah Rexford wrote:
> Using sched, how can I run a function, at for instance, exactly 00:00 GMT, and only that time.
> 
> If sched wouldn't be the best to do so a job, please can you recommend something?
> 

The sched module is by itself not really a task scheduler. It can be used to build one
though, for example https://pypi.python.org/pypi/TGScheduler

My recommendation would be however to utilize your operating system's native task
scheduler (cron, or when you're on windows, the windows task scheduler).


Irmen

[toc] | [prev] | [next] | [standalone]


#94795

FromNkansah Rexford <seanmavley@gmail.com>
Date2015-07-30 18:49 -0700
Message-ID<d2d42c30-2800-43d0-b91c-f87b1c3b5ec1@googlegroups.com>
In reply to#94787
Great. Thanks

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web