Popular recipes tagged "iterative"http://code.activestate.com/recipes/tags/iterative/2013-09-24T13:26:19-07:00ActiveState Code RecipesRun some command every x seconds (Python) 2013-09-24T13:26:19-07:00Rutger Saalminkhttp://code.activestate.com/recipes/users/4187940/http://code.activestate.com/recipes/578673-run-some-command-every-x-seconds/ <p style="color: grey"> Python recipe 578673 by <a href="/recipes/users/4187940/">Rutger Saalmink</a> (<a href="/recipes/tags/command/">command</a>, <a href="/recipes/tags/iterative/">iterative</a>, <a href="/recipes/tags/os/">os</a>, <a href="/recipes/tags/run/">run</a>). </p> <p>Sometimes it comes in handy to run some command every minute or hour. For example, have some process check your ip address every minute with 'ifconfig' or run some purgescript at midnight through 'sqlplus.exe @purge_aux_table'.</p>