Patrick Holmes
Member²
Thank you for generating the SQL for DBMS_Scheduler jobs in version 10! That's really helpful. One small additional request:
We need to use the "to_timestamp_tz" function when creating jobs because we have daylight savings time (DST) here in the U.S. The jobs do not run at the correct times when DST changes unless we create the jobs with the timezone. So instead of generating this for start date:
===============================
start_date => to_date('09-07-2013 14:00:00', 'dd-mm-yyyy hh24:mi:ss'),
===============================
you should generate what is actually stored in the job:
====================================
start_date => to_timestamp_tz('AMERICA/LOS_ANGELES 14:00 09-JUL-2013', 'TZR HH24:MI DD-MON-RRRR'),
===============================
We need to use the "to_timestamp_tz" function when creating jobs because we have daylight savings time (DST) here in the U.S. The jobs do not run at the correct times when DST changes unless we create the jobs with the timezone. So instead of generating this for start date:
===============================
start_date => to_date('09-07-2013 14:00:00', 'dd-mm-yyyy hh24:mi:ss'),
===============================
you should generate what is actually stored in the job:
====================================
start_date => to_timestamp_tz('AMERICA/LOS_ANGELES 14:00 09-JUL-2013', 'TZR HH24:MI DD-MON-RRRR'),
===============================