scrontab
Schedule recurring Slurm cluster jobs
TLDR
SYNOPSIS
scrontab [-u user] filescrontab [-u user] [-e | -l | -r]
DESCRIPTION
scrontab manages Slurm crontab files for scheduling recurring batch jobs on HPC clusters. It uses standard cron time specifications (minute, hour, day of month, month, day of week) combined with Slurm sbatch directives via #SCRON comment lines.Lines starting with #SCRON define sbatch options for the single following crontab entry; options reset between entries. Unlike traditional crontab, user environment variables are not inherited. Jobs are automatically submitted to the Slurm scheduler at specified intervals.
PARAMETERS
-e
Edit crontab; creates a default template if none exists-l
Print current crontab to stdout-r
Remove crontab; running jobs continue but will not recur-u user
Operate on specified user's crontab (listing requires Operator/Admin; editing/removal requires root or SlurmUser)
CAVEATS
Requires Slurm's cron functionality to be enabled by the cluster administrator. User environment variables are ignored unlike traditional crontab.
HISTORY
Part of Slurm workload manager, providing periodic job scheduling for HPC environments.
