New scheduler.py for configure as corn task