Commit Diff


commit - a514ecfd177a7e0843b548370bc8cd608e2d3ecc
commit + 231579be3d457828eda9b86c4aa337062aceceee
blob - 89ae78b9bca7ee05828cec1bc00d99562a2fc8f4
blob + 08c1f3f3b37b555c2e7c4d573e06af93601a01d3
--- commands.c
+++ commands.c
@@ -450,6 +450,7 @@ Menu showlist[] = {
 	{ "version",	"Software information",	CMPL0 0, 0, 0, 0, version },
 	{ "users",	"System users",		CMPL0 0, 0, 0, 0, who },
 	{ "crontab",	"Scheduled background jobs",	CMPL0 0, 0, 0, 0, pr_crontab },
+	{ "scheduler",	"Scheduled background jobs",	CMPL0 0, 0, 0, 0, pr_crontab },
 	{ "running-config",	"Operating configuration", CMPL0 0, 0, 0, 0, pr_conf },
 	{ "startup-config", "Startup configuration", CMPL0 0, 0, 0, 0, pr_s_conf },
 	{ "active-config", "Configuration of active context", CMPL0 0, 0, 0, 0, pr_a_conf },
@@ -1853,6 +1854,7 @@ struct ghs mantab[] = {
 	{ "sadb", "Search for tag sadb", CMPL0 NULL, 0 },
 	{ "sasync", "Search for tag sasync", CMPL0 NULL, 0 },
 	{ "sasyncd", "Search for tag sasyncd", CMPL0 NULL, 0 },
+	{ "scheduler", "Search for tag scheduler", CMPL0 NULL, 0 },
 	{ "sensor", "Search for tag sensor", CMPL0 NULL, 0 },
 	{ "sh", "Search for tag sh", CMPL0 NULL, 0 },
 	{ "shell", "Search for tag shell", CMPL0 NULL, 0 },
@@ -1945,6 +1947,7 @@ Command cmdtab[] = {
 	{ "resolv",	resolvhelp,	CMPL(t) (char **)ctl_resolv, ssctl, ctlhandler, 1, 1, 0, 1 },
 	{ "motd",       motdhelp,       CMPL(t) (char **)ctl_motd, ssctl, ctlhandler,    1, 1, 0, 1 },
 	{ "crontab",    crontabhelp,    CMPL(t) (char **)ctl_crontab, ssctl, ctlhandler,    1, 1, 0, 1 },
+	{ "scheduler",  crontabhelp,    CMPL(t) (char **)ctl_crontab, ssctl, ctlhandler,    1, 1, 0, 1 },
 	{ "inet",	inethelp,	CMPL(t) (char **)ctl_inet, ssctl, ctlhandler,	1, 1, 0, 1 },
 	{ "ping",	pinghelp,	CMPL0 0, 0, ping,		0, 0, 0, 0 },
 	{ "ping6",	ping6help,	CMPL0 0, 0, ping6,		0, 0, 0, 0 },
blob - 1f41ae4718fad3b064aeebdc12d5f8fceec607d0
blob + e00aca8725b24f1c83a3c52d34067c81b03e0337
--- ctl.c
+++ ctl.c
@@ -73,6 +73,7 @@ struct daemons ctl_daemons[] = {
 { "ifstate",	"If state",ctl_ifstate,	IFSTATECONF_TEMP,0600, 0, RT_TABLEID_MAX },
 { "motd",        "MOTD",  ctl_motd,        MOTD_TEMP,0644, 0, 0 },
 { "crontab",	"crontab",  ctl_crontab, CRONTAB_TEMP, 0600, 0, 0 },
+{ "scheduler",	"scheduler",  ctl_crontab, CRONTAB_TEMP, 0600, 0, 0 },
 { 0, 0, 0, 0, 0, 0 }
 };
 
blob - ba0b8399145657180f7d392d196a61fa97ee1911
blob + 1e1153b1ba8b2989aead1c19f5b9d61ee615af12
--- nsh.8
+++ nsh.8
@@ -1708,6 +1708,15 @@ This command can be used to overwrite the system cront
 become out of sync with the copy managed by
 .Nm .
 .Pp
+.Tg scheduler
+.Ic scheduler Op Cm edit | install
+.Pp
+The
+.Cm scheduler
+command is an alias for the
+.Cm crontab
+command described above.
+.Pp
 .Tg reboot
 .Ic reboot
 .Pp
@@ -2653,6 +2662,12 @@ See the
 .Xr crontab 5
 manual page for information about scheduling rules syntax.
 .Pp
+.Ic show scheduler
+.Pp
+Alias for the
+.Cm show crontab
+command described above.
+.Pp
 .Ic show running-config
 .Pp
 Display the current running configuration on the system, including