It could be because the epilog script doesn't have a PATH set by default for security, so maybe it isn't finding the commands echo or chmod
https://slurm.schedmd.com/prolog_epilog.html Do you have /var/slurm/etc/epilog-test on your nodes? Jeff ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Purvesh Parmar <purveshp0...@gmail.com> Sent: Monday, July 18, 2022 5:29 AM To: Slurm User Community List <slurm-users@lists.schedmd.com> Subject: Re: [slurm-users] Epilog script does not execute Hi, I have written a shell script with the name epilog-test. I have mentioned in the slurm.conf file : Epilog=/var/slurm/etc/epilog-test The same slurm.conf file has been copied on all the nodes. My epilog-test is #! /bin/bash echo "epilog test" > /tmp/testfile Chmod +x epilog-test I have restarted slurmctld on master and slurmd on the nodes. Then I have tested jobs, but nothing executes after the job is over. Please help Regards, Purvesh On Sat, 16 Jul 2022 at 12:37, Purvesh Parmar <purveshp0...@gmail.com<mailto:purveshp0...@gmail.com>> wrote: Hi, I have written a shell script with name epilog-test. I have mentioned in the slurm.conf file : Epilog=/var/slurm/etc/epilog-test The same slurm.conf file has been copied on all the nodes. My epilog-test is #! /bin/bash echo "epilog test" > /tmp/testfile Chmod +x epilog-test I have restarted slurmctld on master and slurmd on the nodes. Then I have tested jobs, but nothing executes after job is over. Please help Regards, Purvesh