Snowflake with Python: Determine Next Event from CRON with a Python UDF