Solved shell script cron job not working

hi all,
I have a shell script code as cron job that check the pool status and save it in a sqlite database.
when I run it from terminal. it work properly but in crontab it does't work.
The crontab:
Code:
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/etc/myjob/pool
#
#minute hour    mday    month   wday    who     command
#
# get network interface traffic details
*/1    *     *    *   *   root  /usr/local/etc/myjob/pool/pool.sh
Can you help me figure out the mistake?
 
Back
Top