Popular recipes by Peter Arwanitis http://code.activestate.com/recipes/users/124365/2007-05-28T00:41:47-07:00ActiveState Code Recipesbuilding a crontab to start jobs in hourly batches (administrators one-stop-shopping) (Python)
2007-05-28T00:41:47-07:00Peter Arwanitishttp://code.activestate.com/recipes/users/124365/http://code.activestate.com/recipes/521870-building-a-crontab-to-start-jobs-in-hourly-batches/
<p style="color: grey">
Python
recipe 521870
by <a href="/recipes/users/124365/">Peter Arwanitis</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>Task: Administrative job to run in my case 2300 jobs in a scheduled manner
Restriction: Don't start two jobs at same schedule on same server</p>
<p>Problems to solve that for:
* align list of projects into batch of jobs with distinct servers
* templated job creation
* create a crontab
* to start all this jobs from a starting schedule every hour
* respect some restrictions that on some days and some hours no jobs should be started</p>
<p>Thanks to builtin map() and standard-library time, datetime and timedelta to make that an ease at the end!</p>
Bind wxPython and XML-RPC server together (Python)
2004-08-10T01:18:52-07:00Peter Arwanitishttp://code.activestate.com/recipes/users/124365/http://code.activestate.com/recipes/298985-bind-wxpython-and-xml-rpc-server-together/
<p style="color: grey">
Python
recipe 298985
by <a href="/recipes/users/124365/">Peter Arwanitis</a>
(<a href="/recipes/tags/xml/">xml</a>).
</p>
<p>Make a wxPython application also acting as a XML-RPC server, listening to a dedicated port.
For example a GUI logging application, where logging messages come from other applications via xml-rpc calls.</p>