Hi, How can I get environment and script after sbatch job finish? Some times I need to find out the problems in the user job and all I know is the job id. I can get many information from database but I need to read script and get workdir from env in some cases. I found necessary information in slurm state dir, but files removes from there after job finishes.
I made a wrapper around sbatch which saves the data into external db, but I think there should be more clear solution.
