strigger
View or modify Slurm trigger information. tldr-pages
On Linux
Linux
View or modify Slurm trigger information. Triggers are actions that are automatically run when an event occurs on a Slurm cluster.
Register a new trigger. Execute the specified program when the specified event occurs
strigger --set --primary_database_failure --program path/to/executableIdentifyExecute the specified program when the specified job terminated
strigger --set --jobid job_id --fini --program "path/to/executable argument1 argument2 ..."IdentifyView active triggers
strigger --getIdentifyView active triggers regarding the specified job
strigger --get --jobid job_idIdentifyClear the specified trigger
strigger --clear trigger_idIdentify