python based on the fly task scheduler