By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,375 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,375 IT Pros & Developers. It's quick & easy.

Re: Running a python code periodically

P: n/a
On Thu, 8 May 2008 11:02:14 -0500
"Maryam Saeedi" <ma*******@gmail.comwrote:
I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or some other program like
a bash script.
Use cron.
I have asked this question before and some of you answered me but I still
have problem. Most of the answers was to use cron and crontab which works on
my computer but not if I want to do it on department's computer since I do
not have permission to change those files. Is there any other way which does
not need administrator permission?
Same answer. Download the source for cron from somewhere (NetBSD,
FreeBSD, Linux, whatever), compile it and run it yourself. You can't
run setuid but if you want something that acts like cron, cron fits the
bill. Ain't open source wonderful? :-)

--
D'Arcy J.M. Cain <da***@druid.net | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.