Documentation
¶
Overview ¶
Package autostart generates and manages Windows Task Scheduler definitions for starting the Forge daemon automatically at user logon.
Usage:
forge autostart install -- creates and registers the scheduled task forge autostart remove -- removes the scheduled task forge autostart status -- checks current registration
Index ¶
Constants ¶
View Source
const ( // TaskName is the Windows Task Scheduler task name. TaskName = "ForgeAutoStart" // TaskXMLFile is the filename for the exported XML definition. TaskXMLFile = "forge-autostart.xml" )
Variables ¶
This section is empty.
Functions ¶
func GenerateXML ¶
GenerateXML writes the task XML to ~/.forge/ without registering it.
Types ¶
type TaskConfig ¶
TaskConfig holds the template parameters for the scheduled task.
Click to show internal directories.
Click to hide internal directories.