On Fri, 2004-08-06 at 05:47, German Guillot wrote: > On Fri, 06 Aug 2004 03:25:10 +1000, Stephen K�hn <[EMAIL PROTECTED]> wrote: > > > Now I'm led to wonder, are you using kcron to setup the cron job - and > > is the user YOU or root or system? > > I'm not using kcron - I don't even have it. In my home dir I have a > text file called, appropriately (or confusingly) "crontab". I edit > this by hand when I want to make changes, and then I run: > > [EMAIL PROTECTED] ger]$ crontab crontab
Hmm...I always thought that /usr/bin/kcron was installed by deafult on MDK 9+ systems...I don't recall having to specifically install it; either which, I find it a faster and easier tool to do the same thing (why reinvent the wheel?); and in so being, always maintains uncorrupted crontab information (although it did muck up a few times PRIOR to tweaking the IDE drives and a few other system params.) > et voil�, the file /var/spool/cron/ger is updated and cron does as > instructed, as long as you don't require it to use the X server. It's > the user's crontab, but I've tried with with root's with the same > result (ie, none). > > For my little problem I've found a solution now. The script that cron > runs checks my intended webpage and if it has changed since last time > runs "cat status.1 > status", otherwise it runs "cat status.0 > > status" (the content of status.1 is a 1, etc). > > In the meantime I have a background process reading the file "status" > at the same intervals as cron. If it finds a 0, it does nothing. If it > finds a 1 it opens a Galeon tab. Solved! > > I still don't know how you managed to make cron start Galeon directly, > though. I'm using mdk10 OE, standard out of the box. I haven't messed > with any configurations, I don't know enough for that yet. I guess > you've got a few things tweaked there, haven't you? Oh man, so much to > learn, so little time! > > Germ�n. I thought there was a panel applet for both Gnome and KDE that achieved the same means - telling you when a particular website was updated...Karamba and Superkaramba have "themes" that can do that (as well as display them nicely on the root X window - I think that gDesklets has features similar to that as well...) stephen kuhn - proprietor __________________________________________________________________ illawarra computer services :: a kuhn media australia venture http://kma.0catch.com :: mobile 0410.728.389 Serving Sydney, The Illawarra, South Coast and Rural NSW __________________________________________________________________ * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents __________________________________________________________________ Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. Yes, but will I see the EASTER BUNNY in skintight leather at an IRON MAIDEN concert?
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
