You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-src/scheduling.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
[Commands](commands) can be scheduled to run by leveraging the InEngineScheduler.exe program, available as a download from a recent [release](https://github.com/InEngine-NET/InEngine.NET/releases).
4
4
5
-
## Manually Running the Scheduler
5
+
## Running the Scheduler
6
+
7
+
### Manually from the CLI
6
8
7
9
Running the scheduler from the CommandLine is useful for debugging or local development. Simply run *InEngineScheduler.exe* from the command line.
8
10
@@ -16,37 +18,37 @@ It can also be run on Mac/Linux with Mono.
16
18
mono InEngineScheduler.exe
17
19
```
18
20
19
-
##Running as a Windows Service
21
+
### On Windows as a Service
20
22
21
23
22
-
### Installing as a Windows Service
24
+
####Installing
23
25
Run the Install.ps1 PowerShell script in the scheduler directory to install the scheduler in place. The script needs to be run as an administrator. The script will register the service at the location where the script is run.
24
26
25
27
```bash
26
28
ps Install.ps1
27
29
```
28
30
29
-
### Uninstalling the Windows Service
31
+
####Uninstalling
30
32
31
33
Simply run the **Uninstall.ps1** script with elevated permissions to unregister the service.
32
34
33
35
```bash
34
36
ps Uninstall.ps1
35
37
```
36
38
37
-
##Running with Supervisor (on Linux)
39
+
### On Linux with Supervisor
38
40
39
41
Supervisor is a process control system for Linux. It has extensive [documentation](http://supervisord.org/index.html), but the following should be enough to get started.
40
42
41
-
### Installing Supervisor
43
+
####Installing Supervisor
42
44
43
45
This command installs Supervisor on Ubuntu:
44
46
45
47
```
46
48
sudo apt-get install supervisor
47
49
```
48
50
49
-
### Configuring Supervisor
51
+
####Configuring Supervisor
50
52
51
53
Supervisor configuration files are stored in the **/etc/supervisor/conf.d** directory. Multiple files can be created in this directory to specify different programs, or multiple instances of the same program, for Supervisor to monitor. Copy this sample config into a file called **/etc/supervisor/conf.d/inengine-scheduler.conf**.
52
54
@@ -63,7 +65,7 @@ redirect_stderr=true
63
65
stdout_logfile=./scheduler.log
64
66
```
65
67
66
-
### Starting Supervisor
68
+
####Starting Supervisor
67
69
68
70
Whenever a configuration change happens to files in the Supervisor config files, Supervisor needs to be instructed to reload its configuration.
0 commit comments