Skip to content

Commit baa987c

Browse files
author
mfsoftworks
committed
[readme] updated instructions
1 parent 84967e5 commit baa987c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ If any library is missing do `pip install` *library*.
6868

6969
Create a cron job to run the script on every boot.
7070

71-
To test the script output run with `python monitor.py` or to run in background use `pythonw monitor.py`.
71+
To test the script output run with `python3 monitor.py` or to run in background use `pythonw monitor.py` for PC and `python3 monitor.py &` for Linux.
7272

7373
### Creating Cron Job
7474

7575
Edit cron with `crontab -e`.
7676

77-
Add the script at the bottom of the cron list as `@reboot /path/to/script/monitor.py`.
77+
Add the script at the bottom of the cron list as `@reboot python3 /path/to/script/monitor.py &`.
7878

7979
## Author
8080

0 commit comments

Comments
 (0)