mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 18:52:17 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Register a new trigger. Execute the specified program when the specified event occurs:
|
||||
|
||||
`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} --program={{path/to/executable}}`
|
||||
`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} {{[-p|--program]}} {{path/to/executable}}`
|
||||
|
||||
- Execute the specified program when the specified job terminated:
|
||||
|
||||
`strigger --set --jobid={{job_id}} --fini --program="{{path/to/executable}} {{argument1 argument2 ...}}"`
|
||||
`strigger --set {{[-j|--jobid]}} {{job_id}} {{[-f|--fini]}} {{[-p|--program]}} "{{path/to/executable}} {{argument1 argument2 ...}}"`
|
||||
|
||||
- View active triggers:
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View active triggers regarding the specified job:
|
||||
|
||||
`strigger --get --jobid={{job_id}}`
|
||||
`strigger --get {{[-j|--jobid]}} {{job_id}}`
|
||||
|
||||
- Clear the specified trigger:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user