Send Gcode command on server shutdown

Hi, is any option to send gcode to printer when i execute shutdown server comment? 

Comments

  • No. Shutdown calls the linux shutdown function which shuts down complete os. This kills server quite quick and there is no event for this. But I see it might be nice to have a disable heaters or so as script to be send.  Not sure if this can be done in all the shutdown logic, but would be worth a try. But at some time linux will make a hard kill so there will be no guarantee especially if a slow gcode is blocking communication.
Sign In or Register to comment.