mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
530 B
Plaintext
30 lines
530 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# scrontab
|
|
|
|
> Manage Slurm crontab files.
|
|
> More information: <https://slurm.schedmd.com/scrontab.html>.
|
|
|
|
- Install a new crontab from the specified file:
|
|
|
|
`scrontab {{path/to/file}}`
|
|
|
|
- [e]dit the crontab of the current user:
|
|
|
|
`scrontab -e`
|
|
|
|
- [e]dit the crontab of the specified user:
|
|
|
|
`scrontab --user={{user_id}} -e`
|
|
|
|
- [r]emove the current crontab:
|
|
|
|
`scrontab -r`
|
|
|
|
- Print the crontab of the current user to `stdout`:
|
|
|
|
`scrontab -l`
|