The response should be the folder of the SAS WORK folder. This should be returned immediately (don't wait for the SAS job to finish).
We also need a configuration setting (.env entry) to decide how often to clear out those work directories (eg, if these jobs take up to 6 hours to run, then an admin can set that the directories should not be erased for 6 hours)
These will enable a WAITFOR equivalent to be built for SASjs Server, similar to: https://core.sasjs.io/mv__jobwaitfor_8sas.html
The endpoints are:
The response should be the folder of the SAS WORK folder. This should be returned immediately (don't wait for the SAS job to finish).
We also need a configuration setting (
.env
entry) to decide how often to clear out those work directories (eg, if these jobs take up to 6 hours to run, then an admin can set that the directories should not be erased for 6 hours)