LinuxCommandLibrary

scrontab

Manage Slurm crontab files.

TLDR

Install a new crontab from the specified file

$ scrontab [path/to/file]
copy


[e]dit the crontab of the current user
$ scrontab -e
copy


[e]dit the crontab of the specified user
$ scrontab --user=[user_id] -e
copy


[r]emove the current crontab
$ scrontab -r
copy


Print the crontab of the current user to stdout
$ scrontab -l
copy

Copied to clipboard