Greetings.  I've written a bash script here for a Redhat 9 server that 
uses smbclient to retrieve some log files from a Windows based web 
server, then the script parses the log files with webalizer.  I added 
the script to my /etc/crontab file, with proper notation, but it does 
not run!  Is there anything with smbclient that might prevent it from 
running in this fashion?  The script works fine when I run it manually...

Here's what the smbclient line looks like in my script:
/usr/bin/smbclient \\\\SERVERNAME\\SHARENAME -A  ../login_info -I 
SERVERIPADDRESS -n MYCOMPNAME -c "cd httplog; prompt off; mget *.log"

My crontab notation looks like this so it will run at 4am every day:
0 4 * * * root /FOLDER/SCRIPT

I also have a similar script retrieving logs from a Linux server via 
FTP, and that one works fine with the same crontab notation.

thanks in advance for any assistance.
-Josh


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list