Does anyone know if you are able to create an empty text file (.txt), and then write content to it, using ArcGIS Online Notebooks?
Based upon the item type reference for the content.add method, it does not appear to be supported. But sometimes you all know things not mentioned in the help reference.
The context is I'm considering using the scheduled task feature of Notebooks. I have many scripts that run as scheduled task on my organization's system. My practice is to write information and/or error messages to text files, so that I can review what happened each time the task runs.
For running Notebooks as tasks on ArcGIS Online, I'd like to be able to review success/errors of the script. So, if someone knows an alternative way to do this other than writing to a text file, I am interested in that solution as well.
I can perform my actions running a script on my system, but as the script is just doing things in ArcGIS Online, it would be preferable to have the script run in the ArcGIS Online system as well, if possible.