defaults

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TickMin = 3 // minimal time in seconds between that can be set in config file. If not set or less then, Set to this value.

	AppName = "scom"

	ConfFileName = "scom.conf"
	SiteConfDir  = "/etc/" + AppName + "/"
	SiteConfFile = SiteConfDir + ConfFileName

	TemplatesDir        = SiteConfDir + "templates"
	TemplatesSuffix     = ".sbatch"
	TemplatesDescSuffix = ".desc"
)

Variables

View Source
var (
	// default paths
	BinPaths = map[string]string{
		"sacct":    "/bin/sacct",
		"sstat":    "/bin/sstat",
		"sinfo":    "/bin/sinfo",
		"squeue":   "/bin/squeue",
		"sbatch":   "/bin/sbatch",
		"scancel":  "/bin/scancel",
		"scontrol": "/bin/scontrol",
		"sacctmgr": "/bin/sacctmgr",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL