@adecore/service 0.54.1 → 0.54.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cmd-line.js +3 -3
- package/package.json +1 -1
- package/src/cmd-line.ts +3 -3
- package/src/manager.ts +1 -1
package/dist/cmd-line.js
CHANGED
|
@@ -12,9 +12,9 @@ export function scheduledTaskScriptName(label) {
|
|
|
12
12
|
return `${label.replace(/[^\w.-]/g, '_')}.cmd`;
|
|
13
13
|
}
|
|
14
14
|
/*
|
|
15
|
-
*
|
|
16
|
-
* process
|
|
17
|
-
*
|
|
15
|
+
* How a manager finds the cmd.exe of a task from before it had a script. `schtasks /End` ends only that
|
|
16
|
+
* process, so a stop has to end the tree under it first. Its title is the label, which is the name of the
|
|
17
|
+
* task. A manager finds a task with a script by the script's name on the cmd.exe line.
|
|
18
18
|
*/
|
|
19
19
|
export function scheduledTaskMarker(label) {
|
|
20
20
|
return `title ${cmdEscaped(label)} && `;
|
package/package.json
CHANGED
package/src/cmd-line.ts
CHANGED
|
@@ -16,9 +16,9 @@ export function scheduledTaskScriptName(label: string): string {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
|
-
*
|
|
20
|
-
* process
|
|
21
|
-
*
|
|
19
|
+
* How a manager finds the cmd.exe of a task from before it had a script. `schtasks /End` ends only that
|
|
20
|
+
* process, so a stop has to end the tree under it first. Its title is the label, which is the name of the
|
|
21
|
+
* task. A manager finds a task with a script by the script's name on the cmd.exe line.
|
|
22
22
|
*/
|
|
23
23
|
export function scheduledTaskMarker(label: string): string {
|
|
24
24
|
return `title ${cmdEscaped(label)} && `;
|
package/src/manager.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface ServiceManager {
|
|
|
28
28
|
read(): string | null;
|
|
29
29
|
/*
|
|
30
30
|
* Puts the definition on disk, so the service starts with the person's session. A running daemon
|
|
31
|
-
* keeps
|
|
31
|
+
* keeps the definition it started from; true means that one differs from this one.
|
|
32
32
|
*/
|
|
33
33
|
install(definition: string): boolean;
|
|
34
34
|
/* Starts the daemon from the definition on disk; nothing when it already runs. */
|