I want to automate the import, but how to write a custom function to fetches the data, and writes it to the spreadsheet. this my app scrip `function myFunction() { var sheetName = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet1"); //var queryString = Math.random; var cellFunction = '=IMPORTHTML("https://www.bybit.com/user/assets/order/derivatives/uniform-usdt/all-orders","table",1)';
sheetName.getRange('A1').setValue(cellFunction);your text
}`
but how i set the id and password automatic update google sheet every hour to get data from the website