Use slurm_ctime() to avoid trailing \n.