Okay, I have the following script that runs fine from a command line as well as an executable .sh file. It just moves any file/folder with movie* in the name to a folder called _Movies. The issue I'm running into is when it's call from a cron.
find /mnt/HD_a2/BT/complete -iname "movie.*" -exec mv {} /mnt/HD_a2/BT/complete/_Movies \;
Crontab looks like the following, with my scripts being called move_downloads.sh
32 2 * * * /usr/sbin/rtc -s
30 2 2 * * /usr/sbin/rtc -c
59 1 * * * /usr/sbin/daylight &
*/10 * * * * /usr/sbin/offl_chk two &
*/60 * * * * /usr/sbin/getdhcp&
* * * * * /ffp/sbin/move_downloads.sh >> /mnt/HD_a2/move_downloads.log 2>&1
I realize it's running every minute, but it's set that way while I debug it. I get the following in the log file, and the movie does not move when the cron job is ran.
BusyBox v1.00-pre1 (2008.09.02-11:43+0000) multi-call binary
Usage: find [PATH...] [EXPRESSION]
Any ideas? I'm going crazy trying to figure out what could be wrong. Thanks!