[ale] More crontab woes
Mike Fletcher
fletch at phydeaux.org
Thu Jul 29 12:51:02 EDT 1999
>>>>> "Randy" == JANINDRA <JANINDRA at MS.NDCORP.COM> writes:
Randy> I am playing around with a perl script that does an X
Randy> window dump then converts it to .GIF format. The code is
Randy> below:
[...]
Randy> the Perl script with no problems. However like I said when
Randy> I schedule it to be a cron job it refuses to create the
Randy> "image.xwd" file and skips to the next line. I have also
Randy> tried to put a few "sleeps" in there but no help.
The problem probably isn't the command paths, it's the fact
that the cron job may be run with a current directory that can't be
written to (e.g. /). Give an absolute path to the output files in a
directory that should be writable (e.g. `/tmp/xwd.out_$$') and that
should work.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
678 443-6239(w) | scary questions." -- Jules =(___)=
| U
More information about the Ale
mailing list