You are not logged in.

#1 2008-09-05 18:53:19

smuj
Member
Registered: 2007-12-26
Posts: 12

Script for printing

I have written a small script which checks ink levels in my printer and writes them to a file for later checking. I would like it to automatically run when my computer shuts down, regardless of what desktop environment I am in. What would be the best way of doing this?
Thanks

Offline

#2 2008-09-05 19:20:56

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Script for printing

Use /etc/rc.local.shutdown.


1000

Offline

Board footer

Powered by FluxBB