cronwu

Hi!

I Have WS 2350 and it did take me some tweaking to get all up and running.
No I’m having very interesting problem with cronwu.

when I run it manually (./cronwu) it works like charm.

But when it gets run through ./consolewd I get following:

Doing minute routine now
calc sunrise hour 8
calc sunrise min 34
calc sunset hour 21
calc sunset min 38
Sending WU data now
sh: cronwu: command not found

Any ideas?

Best regards,

Aj

Hi,

I believe WD uses the path relative to where you started consolewd' Just to confirm, when you start consolewd’, are you `cd’d in the directory?

Otherwise, you could add the directory where `cronwu’ is located, to your PATH.

Pablo Hi!

Well, yes, ‘cronwu’ is in the same dir as ‘consolewd’ - this is why I’m a bit puzzled about this one…
Maybe ‘consolewd’ changes path/dir somehow… :?

Hi,

As a test, try the following - assuming you’re using BASH and you’re `cd’d in the directory where WD is located:


export PATH="$PATH":`pwd`
./consolewd

I have fixed this in the last version of consolewd Brian is going release soon, we are finishing the tests.
You can use the PATH from Pablo It should do the trick

Yves

Yves/Pablo - thanks!
I did it for now ‘hard way’ - through cron jobs.

Waiting for new version.

Regards,
Aj