I faced with this error message on 18c RAC database.

Error message is:

ORA-12012: error on auto execute of job “SYS”.”ORA$AT_SA_SPC_SY_10909″
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at “SYS.DBMS_ADVISOR”, line 201
ORA-06512: at “SYS.DBMS_SPACE”, line 2563
ORA-06512: at “SYS.DBMS_SPACE”, line 2643

You can follow below query for get details about jobs:

Query 1:

col con_id head "Con|tai|ner" form 999
col window_name head "window" form a16
col wst head "window|start|time" form a12
col window_duration head "window|dura|tion|hours" form 999999
col job_name head "job name" form a22
col jst head "job|start|time" form a12
col job_duration head "job|dura|tion|mins" form 999999
col job_status head "job|status" form a10
col job_error head "job error" form 99
col job_info head "job info" form a40

select con_id, window_name, to_char(window_start_time, 'DD-MON HH24:MI') wst,
extract(hour from window_duration) + round(extract(minute from window_duration)/60) window_duration,
job_name, to_char(job_start_time, 'DD-MON HH24:MI') jst, job_status,
extract(hour from job_duration)*60 + round(extract(minute from job_duration)) job_duration,
job_error, job_info
from cdb_autotask_job_history
where client_name = 'auto optimizer stats collection'
order by job_start_time, con_id
/

Query 2:

/* view automated jobs in the database */

SQL> select client_name, job_status, job_start_time, job_duration from dba_autotask_job_history order by job_start_time

Query 3:

/* View active maintenance windows in the database */

SQL> select client_name, status, window_group,window_name, window_next_time from DBA_AUTOTASK_WINDOW_CLIENTS;

Query 4:

/* view history of automated statistics job */

col client_name format a32
col job_status format a10
col job_start_time format a40
col job_info format a60
col job_duration format a20
set linesize 200
SELECT client_name, job_status, job_start_time, job_duration, job_info
FROM dba_autotask_job_history
WHERE client_name like '%stats%'
ORDER BY job_start_time;

Query 5:

/* Get Details */
select log_date,status, JOB_NAME from dba_scheduler_job_run_details where status='FAILED' order by log_date;

/* Get Details by using job_name */
select log_date,status from dba_scheduler_job_run_details where job_name=’BSLN_MAINTAIN_STATS_JOB';

If you want to change schedule of jobs you can use below syntax:

EXECUTE DBMS_SCHEDULER.DISABLE(name => 'SYS.MONDAY_WINDOW', force=>TRUE);

EXECUTE DBMS_SCHEDULER.SET_ATTRIBUTE(name => 'SYS.MONDAY_WINDOW', attribute => 'duration', value => interval '360' minute);

EXECUTE DBMS_SCHEDULER.SET_ATTRIBUTE(name => 'SYS.MONDAY_WINDOW', attribute => 'repeat_interval', value => 'FREQ=WEEKLY;BYDAY=MON;BYHOUR=18;BYMINUTE=0;BYSECOND=0');

EXECUTE DBMS_SCHEDULER.ENABLE(name => 'SYS.MONDAY_WINDOW');

If you want to enable or disable related jobs:

BEGIN
  dbms_auto_task_admin.enable(
    client_name => 'auto space advisor',
    operation   => NULL,
    window_name => NULL);
END;
/

BEGIN
  dbms_auto_task_admin.disable(
    client_name => 'auto space advisor',
    operation   => NULL,
    window_name => NULL);
END;
/