Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Running cron jobs

New Message Reply About this list Date view Thread view Subject view Author view

Alex Harford (alexh@dowco.com)
Wed, 21 Oct 1998 14:26:49 -0700 (PDT)


I'm trying to run a cron job that calls a perl script to change the
picture in my root window. I think I have everything working, except for
the following error:

shell-init: could not get current directory:
getwd: cannot access parent directories
find: cannot open current directory: Permission denied
<more output snipped>

The rest of the output is the script complaing about the same thing.

I think it is wanting to be run from a directory, but isn't the point of
having a cron job to *not* run it from a directory? Anyway, if anyone
could shed some light on the subject, that would be great.

I could also write a sh script that would exec the program, sleep 120,
and call itself. I am assuming that would take up more resources than
cron, or should I not worry about it?

------------------------------------------------------------------------------
Alex Harford Alcohol and calculus don't mix.
http://www.dowco.com/~alexh Don't drink and derive.
alexh@dowco.com


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Mon 02 Nov 1998 - 03:23:18 PST