I have a dynamic query layer (polygon) derived from feature class and SQL table, I was able to share it to ArcGIS Online as a web layer.
1- I would like to setup an automated workflow for overwriting or append to hosted feature services within our ArcGIS Online Account (stand alone arcpy script) and schedule that for everyday update. I tried this one Update Hosted Feature Service with Feature Class but got this error. I am not interested using Python API,

2- Where is the path of Query Layer (workspacePath) ? I know its generated and already shared to ArcGIS Online.
3- also I went through this one Best Practise for scripting updating of hosted feature services?
but none of them helped.