Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have a weird problem:
I created a script /ffp/bin/testcase.sh
#!/bin/sh echo Testcase starts > /ffp/log/testcase.log ls -1 /ffp/bin | wc >> /ffp/log/testcase.log echo Testcase ends >> /ffp/log/testcase.log
When I run the script, I get this result, as expected:
Testcase starts 276 276 1860 Testcase ends
If I run the same script a a cronjob, I get
Testcase starts Testcase ends
I looks like the | wc is not working in cronjobs ?.?.?
Am I missing something?
Gravel
FW 1.05 / ffp5
EDIT: Found the solution by adding export PATH=/ffp/sbin:/ffp/bin:$PATH to my script.
Fonz: If everyone expect me is aware of this, its ok. Otherwise I recommend some faq for cronjobs added to the ffp wiki
Last edited by Loose Gravel (2008-10-16 02:10:17)
Offline
Loose Gravel wrote:
I looks like the | wc is not working in cronjobs ?.?.
I couldn't tell you how to fix this problem however I did find a couple of articles that explain the situation and might help
http://www.unix.com/answers-frequently- … ontab.html and http://www.unix.com/unix-advanced-exper … -cron.html
Last edited by rcblackwell (2008-10-18 02:25:05)
Offline