[kde-linux] kcron

Anne Wilson cannewilson at googlemail.com
Sat Nov 17 12:27:45 UTC 2007


On Saturday 17 November 2007 12:21:12 Rod Butcher wrote:
> Paul Kaplan wrote:
> > Since installing kde 3.5.8 with kubuntu gutsy, I can't get kcron to
> > execute any scheduled tasks.  Some are run as root and some as a normal
> > user, but none execute.
> >
> > Any ideas what's going on or how to fix?
>
> One problem I had was that the normal terminal environment (i.e. with
> default ../bin) didn't seem to be set up.. so that if I set it to run
> xyz it wouldn't run, even though /usr/bin was in my default environment,
> and /usr/bin/xyz existed. My fix was to set it to execute /usr/bin/xyz.
> Dunno if this is connected..

I was told that cron doesn't run with your (or root's) environment, so one 
should always set the full path in a cron job.  HTH

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20071117/217f97a8/attachment.sig>


More information about the kde-linux mailing list