Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Python
Scheduling a daily event
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
noama
New Member
Join Date:
Aug 2007
Posts:
9
#1
Scheduling a daily event
Aug 25 '07, 01:58 PM
How can i schedule an event to run daily at a certain time? is there a way to set it in advance?
Thanks, noam
bartonc
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
6478
#2
Aug 25 '07, 08:41 PM
Originally posted by
noama
How can i schedule an event to run daily at a certain time? is there a way to set it in advance?
Thanks, noam
5.8 sched -- Event scheduler
Actually chapter 6.12 in the 2.4.4 manuals.
Comment
Post
Cancel
noama
New Member
Join Date:
Aug 2007
Posts:
9
#3
Aug 25 '07, 10:09 PM
Originally posted by
bartonc
5.8 sched -- Event scheduler
Actually chapter 6.12 in the 2.4.4 manuals.
Sorry, i should have been more precise - The problem is with making the event repeat at REGULAR INTERVALS, i.e every day, every week etc...
Comment
Post
Cancel
bartonc
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
6478
#4
Aug 26 '07, 12:49 AM
Originally posted by
noama
Sorry, i should have been more precise - The problem is with making the event repeat at REGULAR INTERVALS, i.e every day, every week etc...
It's easy to start a recurring python sched function, but difficult to stop.
Here is a
multi-threaded example
.
NOTE TO BVDet: ASPN turns out to be (in my view) a permissible link. Please feel free to refer to their cookbook solutions.
Comment
Post
Cancel
pythonner
New Member
Join Date:
Aug 2007
Posts:
11
#5
Aug 26 '07, 06:55 AM
Which OS are you on? If it's a *nix, that's easy using cron. See man cron.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment