Cronjob every 30secs
Michael.Coll-Barth at VerizonWireless.com
Michael.Coll-Barth at VerizonWireless.com
Tue May 12 18:43:11 UTC 2009
> From: Tence T. George
> I wrote a python script using pysvn that checks my svn server
> and updates/exports directorys on my ubuntu webserver. But,
> now I need it to run every 30secs so that developers working
> on the same project don't need to wait so long to see changes
> done to the developmental side of the website. I don't
> really care for how many cpu cycles it uses up since the
> machine is multicore comp. I did some googling and most
> sites say that crons can't do less than a minute. I was just
> wondering if anyone had a workaround for it.
Why can't you use sleep 30 in a shell script? Then have the script kick
off your python script. Both the sleep command and the python script
call just need to be in an endless loop.
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
More information about the ubuntu-users
mailing list