Performing cleanup tasks v15
The remove_log_file_and_job
function performs cleanup tasks by removing the log files created by the schema cloning functions and the jobs created by the non-blocking functions.
You can specify values for either or both of the two parameters when invoking the remove_log_file_and_job
function:
- If you specify only
log_file
, then the function removes only the log file. - If you specify only
job_id
, then the function removes only the job. - If you specify both, then the function removes only the log file and the job.
Parameters
log_file
Name of the log file to remove.
job_id
Job ID of the job to remove.
Example
This example removes only the log file, given the log file name:
This example removes only the job, given the job ID: