Python cron task wrapper