On 04/02/2015 04:28 AM, Carl E. Fields wrote:
crontab executes eve thing fine except the batch command, which works when
run as SlurmUser by hand. I have the bang script before the batch is being
executed, print the user, to ensure its the slurm user.
Hi,
I succeed with these crontab lines in /etc/crontab on Scientific Linux 6.6:
12 * * * * root su - lka -c '(/usr/bin/sbatch /home/lka/queuetiming/jobscript_node)
>& /dev/null'
17 * * * * root su - lka -c '(/usr/bin/sbatch /home/lka/queuetiming/jobscript_core)
>& /dev/null'
("lka" is myself.)
Best regards
-- Lennart Karlsson, UPPMAX, Uppsala University, Sweden
http://www.uppmax.uu.se/