Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2012, 08:40 PM   #1
sencer
Member
sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.
 
Posts: 10
Karma: 7926
Join Date: Dec 2012
Device: Kindle PW
init.d services

Hi,

I am new to forum --and a new kindle owner. I have rooted my kindle, and trying to write a script that will run periodically. I was planning to use cron for this, but I don't have it. I have crontab though, I have a crontab file (/etc/crontab/root).

How do I restart cron? Actually how do I restart any service?
sencer is offline   Reply With Quote
Old 12-04-2012, 08:48 PM   #2
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by sencer View Post
Hi,

I am new to forum --and a new kindle owner. I have rooted my kindle, and trying to write a script that will run periodically. I was planning to use cron for this, but I don't have it. I have crontab though, I have a crontab file (/etc/crontab/root).

How do I restart cron? Actually how do I restart any service?
Ummmmm... If it doesn't have to be run at certain intervals, you could have it run everytime a screensaver happens... For that, you would use dos1's eventManager, located just a couple thread sdown from this one..
qlob is offline   Reply With Quote
Old 12-05-2012, 02:08 AM   #3
sencer
Member
sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.
 
Posts: 10
Karma: 7926
Join Date: Dec 2012
Device: Kindle PW
I want to do it 1 or 2 times a day --so screensaver thing would be very frequent. I found crond, though.
sencer is offline   Reply With Quote
Old 12-05-2012, 09:28 AM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
https://www.mobileread.com/forums/sho...d.php?t=156472
twobob is offline   Reply With Quote
Old 12-05-2012, 01:54 PM   #5
sencer
Member
sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.sencer knows the square root of minus one.
 
Posts: 10
Karma: 7926
Join Date: Dec 2012
Device: Kindle PW
well, what I say is that - there is nothing in /etc/init.d folder in Kindle PW.
sencer is offline   Reply With Quote
Old 12-05-2012, 02:25 PM   #6
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by sencer View Post
I want to do it 1 or 2 times a day --so screensaver thing would be very frequent. I found crond, though.
Quote:
Originally Posted by sencer View Post
well, what I say is that - there is nothing in /etc/init.d folder in Kindle PW.
I assume that you've found it already by yourself, but just for clarity: startup scripts are located at /etc/upstart, crond startup is controlled by /etc/upstart/cron.conf, to restart cron isuue, uhm, restart cron
eureka is offline   Reply With Quote
Old 12-05-2012, 02:29 PM   #7
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by sencer View Post
well, what I say is that - there is nothing in /etc/init.d folder in Kindle PW.
The K5 and PW use upstart. Scripts are triggered by events rather than run levels at startup.
geekmaster is offline   Reply With Quote
Reply

Tags
cron, jailbreak, kindle, paperwhite, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 HOWTO: e2fsck on init, fix_permissions afterwards uboot Sony Reader Dev Corner 25 02-15-2012 12:38 PM
Cannot edit init.rc sjkevin Nook Developer's Corner 4 02-15-2011 06:44 PM
SmartQ5 - modem init string and login data saving Drakon Rider Alternative Devices 4 09-27-2009 05:09 AM


All times are GMT -4. The time now is 01:04 PM.


MobileRead.com is a privately owned, operated and funded community.