I was wondering about the FME Flow Temp Resource (i.e. '$(FME_SHAREDRESOURCE_TEMP)').
As the name suggests its supposed to be a temporary folder.
First question I have on this,
- Is it correct that there is no default mechanism (e.g. that there is no default cleanup task) that cleans out this Temp (FME_SHAREDRESOURCE_TEMP) folder, and that if you want to have it be cleaned every X days/weeks, you should create a new System Cleanup Task?
It seemed to me that this was the case, and while setting up my own System Cleanup Task to have this Temp (FME_SHAREDRESOURCE_TEMP) folder cleared, I came across some confusing points I would like to address/ask.
My second question;
- How does the 'Remove Files Older Than' parameter set (at tab 'Tasks' of 'System Cleanup') relate to the 'Task Interval' parameter for 'Normal Conditions' (that can be configured at the 'Configuration' tab of 'System Cleanup')?
E.g., if I set up a task to clean up the 'Temp Resource' folder once every hour, but the 'Task Interval' for 'Normal Conditions' is set to 1 Day (default), will files in the 'Temp Resource' folder be cleanup up once every hour or once every day?
It seems to me that the latter is the case, and that there is no real point in setting the 'Remove Files Older Than' parameter of a System Cleanup Task, to be more frequent than the 'Task Interval' parameter for 'Normal Conditions'.
If so, I would have appreciated a warning or information window upon configuring a 'Remove Files Older Than' frequency < 'Task Interval' for 'Normal Conditions'. But that may be more something for an Idea on the forum (but before I do so, I would first like to hear from others if they believe my assumption on this second point is correct).
Then, a third point of attention.
- The 'information buttons' in front of the 'Filter Settings' parameters of a Cleanup Task (in front of the parameters 'Filter Type', 'Pattern' and 'Remove Files Older Than') only seem to describe the cleanup of files in the configured source resource (sub)folder.
However, it seems to me that also folders and nested files/folders are removed. I'm pretty sure that I noticed this was the case. Although I'm happy with the behavior, I suppose the information window could be a bit more clear on this. I'll consider to also post an Idea about this.
Then my last question for now;
- For the path of resource folder in a Cleanup task (i.e. the parameter 'Source Folder'), does it matter if there is an additional forward slash between the 'system resource parameter' and the subfolder? E.g. can/should I use '$FME_SHAREDRESOURCE_LOG)/myfolder' or can/should I use '$FME_SHAREDRESOURCE_LOG)myfolder'.
This last item/question is because I was a bit confused that when I set the new Cleanup Task, and set the path of the resource folder through the FME Flow interface, the path that was set was '$FME_SHAREDRESOURCE_LOG)/myfolder', whereas all the default Cleanup Tasks that are shipped with FME Flow, don't have such a forward slash between the parameter and the subfolder (e.g. the path for the default cleanup task 'Delete_Dashboard_Temp_Files' is '$(FME_SHAREDRESOURCE_DASHBOARD)temp').
Feedback regarding to these points would be appreciated 🙂