cnc.js

Post Reply
TinyFactory
Posts: 13
Joined: Sun Dec 15, 2019 2:45 pm

cnc.js

Post by TinyFactory » Sat Jan 11, 2020 10:00 pm

waiting on a new board so I'm trying to get the raspberry pi setup. is there a way to make the CNC.js automatically start when I power on the pi?

TinyFactory
Posts: 13
Joined: Sun Dec 15, 2019 2:45 pm

Re: cnc.js

Post by TinyFactory » Mon Jan 13, 2020 2:18 am

(crontab -l | grep -v cncjs; echo "@reboot $(which cncjs) >>$HOME/cncjs.log 2>&1") | crontab -

Bertus Kruger
Site Admin
Posts: 1562
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: cnc.js

Post by Bertus Kruger » Thu Jan 16, 2020 6:45 pm

TinyFactory wrote:
Mon Jan 13, 2020 2:18 am
(crontab -l | grep -v cncjs; echo "@reboot $(which cncjs) >>$HOME/cncjs.log 2>&1") | crontab -
Yes, I would suggest using crontab. Only thin to look for might be permissions but if the above works, go with it.

TinyFactory
Posts: 13
Joined: Sun Dec 15, 2019 2:45 pm

Re: cnc.js

Post by TinyFactory » Sun Jan 19, 2020 3:29 am

what is the way to get cncjs to auto start on boot up using the Raspberry Pi CNC User Interface SD Card Image V4.10

Bertus Kruger
Site Admin
Posts: 1562
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: cnc.js

Post by Bertus Kruger » Wed Jan 22, 2020 6:30 pm

TinyFactory wrote:
Sun Jan 19, 2020 3:29 am
what is the way to get cncjs to auto start on boot up using the Raspberry Pi CNC User Interface SD Card Image V4.10
crontab will do the trick : https://learn.pimoroni.com/tutorial/san ... ts-at-boot

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest