04-29-2010, 12:35 PM | #1 |
Addict
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
|
How to start a background process?
What triggered this idea is that my DR800 didn't go to standby/sleep mode last night by itself. All I have been reading is PDF.
It should be useful to keep a record of running processes when the device is on, so that we can at least guess which program/process is preventing the device from auto-standby. The code can be as simple as: processlog.sh Code:
#!/bin/sh while [ 1 ] do date >> p.list ps >> p.list sleep 600 done And will it resume when the device comes out of standby? I will give it a try.... |
04-29-2010, 04:16 PM | #2 |
Addict
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
|
OK, here is what I got:
First, you don't need the "&" at the end of the .desktop file. See attached file. Second, the program will show a "please wait" window for about 30 seconds, then goes back into the background. Third, it seems to work (to some extent) for me. See the p.list (inside p.zip, cannot upload p.list?) file attached. One thing I don't understand is somehow this program/script got killed after several minutes. Any ideas? |
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
grey background? | whopper | Calibre | 3 | 08-24-2010 07:08 PM |
Classic Is there a way to lighten the background? | rlsamson | Barnes & Noble NOOK | 3 | 06-30-2010 04:56 PM |
lighter background | jlinden | Amazon Kindle | 9 | 02-18-2010 03:32 AM |
Background 'colours' | AlexBell | Calibre | 3 | 07-15-2009 06:42 PM |
Pdf background darker than LRF/RTF background | LOL2005 | Sony Reader | 2 | 10-23-2007 11:00 AM |