Clear cell after set time

This is the script I use:

function clearRange() {
   //replace 'Sheet1' with your actual sheet name
   //replace 'Range' with the range you want to clear
   var sheet = SpreadsheetApp.getActive().getSheetByName('Sheet1);
   sheet.getRange('Range').clearContent();
}