Skip to content

Commit e6ef67e

Browse files
authored
Update Running.md
1 parent 923a0b3 commit e6ef67e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: docs/Running.md

+11
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ chmod +x refreshDB.sh
1616
## Running local website for remote api (Droplet on digitalOcean)
1717
- Change the <Root> (root ..../distLocal) line in movies.conf to: ../distRemote.
1818
- Run as instructed above.
19+
20+
## Setting the server to be started on reboot:
21+
22+
```bash
23+
chmod +x cronjob.sh
24+
sudo crontab -e
25+
```
26+
- Add @reboot "/.../cronjob.sh" (Destination to the cronjob)"
27+
- Reboot
28+
29+
1930
## Shutting down:
2031
2132
```bash

0 commit comments

Comments
 (0)