Added support for Schedule

Added support to use a pre-defined schedule within the Exec statements.