BEGIN
  DBMS_SCHEDULER.CREATE_JOB (
   job_name           =>  'JOB_DASHBOARD_ERP',
   job_type           =>  'PLSQL_BLOCK',
   job_action         =>  'BEGIN DASHBOARD_PROCEDURES(); END;',
   start_date         =>  SYSDATE,
   repeat_interval    =>  'FREQ=HOURLY; BYHOUR=0,4,8,12,16,20; BYMINUTE=0; BYSECOND=0;',
   end_date           =>   NULL,
   auto_drop          =>   FALSE,
   job_class          =>  'DEFAULT_JOB_CLASS',
   ENABLED            =>   TRUE,
   comments           =>  'JOB PARA DASHBOARD DO ERP');
END;
/
