On Mon, 5 Mar 2007, John Hodrien wrote:

Perhaps:

def RunCrontabs():
       crondirs = glob.glob ("/etc/cron.*")
       crondirs.remove ("/etc/cron.deny")
       crondirs.remove ("/etc/cron.daily/000-delay.cron")
       crondirs.remove ("/etc/cron.weekly/000-delay.cron")
       crondirs.remove ("/etc/cron.monthly/000-delay.cron")
       for crondir in crondirs:
               for cronfile in glob.glob (crondir + "/*"):
                       SystemWrapper (cronfile)

By perhaps, I obviously mean something entirely different.  I leave it to the
reader who actually knows python to correct that mess into something
meaningful, as opposed to the crap I've posted.

jh

--
"Technology... the knack of so arrangeing the world that we don't have to
 experience it."                                     -- Max Frisch

_______________________________________________
Stateless-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/stateless-list

Reply via email to