471,344 Members | 992 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

Scheduling a daily event

9
How can i schedule an event to run daily at a certain time? is there a way to set it in advance?
Thanks, noam
Aug 25 '07 #1
4 3698
bartonc
6,596 Expert 4TB
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.
Aug 25 '07 #2
noama
9
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...
Aug 25 '07 #3
bartonc
6,596 Expert 4TB
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.
Aug 26 '07 #4
Which OS are you on? If it's a *nix, that's easy using cron. See man cron.
Aug 26 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Slavyan | last post: by
2 posts views Thread by m3ckon | last post: by
3 posts views Thread by Muscha | last post: by
3 posts views Thread by androoo | last post: by
reply views Thread by George L. Sexton | last post: by
4 posts views Thread by Dinsdale | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.