Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: MyCron logfile< Next Oldest | Next Newest >
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: July 03 2008,06:53 QUOTE

Is there  a trick to get a logfile for MyCron without modifying /etc/init.d/dsl-fonctions (and putting it in filetool.lst)? I dont find this way very clean.
Back to top
Profile PM 
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: July 03 2008,06:58 QUOTE

/etc/init.d/dsl-config ! Sorry...
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: July 03 2008,10:54 QUOTE

Add
"killall /usr/local/bin/MyCron"
and
"/usr/bin/nohup /usr/local/bin/MyCron -i"
to either /opt/bootlocal.sh
or even .xinitrc

But bootlocal.sh is prefered.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: July 03 2008,12:38 QUOTE

Quote
to either /opt/bootlocal.sh
or even .xinitrc

But bootlocal.sh is prefered.

I know a lot (most?) users only run in X and technically starting such processes from .xinitrc may work, but it's a really bad idea to use .xinitrc for spawning daemons or processes unrelated to the X environment. No X, whether intentional or from a crash, means daemons or child processes started from .xinitrc will cease to run. Or worse, they're not stopped correctly or "gracefully" while doing something. May not be as bad with cron (as long as it's not executing something) as it is for other things like a printer daemon or sshd.

(Edit: Changed ssh to sshd for clarification, though some also prefer to ssh from console so as to not tie connection to another machine to an X session.)


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
3 replies since July 03 2008,06:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: MyCron logfile

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code