...
What sort of editing should I do before scheduling this in cron?
Better use DBMS_JOB and/or DBMS_SCHEDULER PL/SQL procedures.