Friends and pl/sql gurus...

I am trying to create procedure to delete data from audit table but don't know where to start with..

it will be great if somebody could provide some tips or pointer...

Requirements:

1. Procedure will run on first Saturday of the month (not sure is it possible via pl/sql or have to create separate job)
2. Delete data older than 2 months from Mon - Sat and date shouldn't be 1st of the month. (i.e. leave Sunday & 1st of the month data older than 2 months)

e.g.

```
*Procedure delete_log

IS

BEGIN

delete from audit_logs
where created >= trunc(sysdate - 60) and created < trunc(sysdate)
and created != (Sunday)
and created != (First of the month);

Commit;

End delete_log;*

```

I don't have much experience with pl/sql so all tips are appreciated..

Thanks,
Mike