To disable the AUTO TASK space advisor, and sql tuning advisor, and disable weekday maintenance window for auto optimizer stats collection, you could execute this.
This code works on 12c and likely a couple of versions previous to 12c – but have not tested recently.
BEGIN
dbms_auto_task_admin.disable(
dbms_auto_task_admin.disable(
dbms_auto_task_admin.disable(
END;