[Samba] smbget -R creates problem in crontab

Harikrishnan R hari2981 at gmail.com
Fri Jun 10 00:41:31 MDT 2011


Hi ,

    I am trying to download one folder from a windows share regularly.

I used the following command from the *command line* its *working* fine.
*/usr/bin/smbget -R smb://192.168.10.32/Data --username USER --password
PASSWORD*
But same script that I used in crontab(user per cron) I am getting some
errors and that is attached.

The interesting thing is if I issue
 */usr/bin/smbget smb://192.168.10.32/Data/test.xml --username USER
--password PASSWORD -o //home/user/Data/test.xml
*from crontab its working.

Please look into this issue and give me a solution. I am trying for one and
half day.

-- 
Harikrishan R
http://harikrishnanr.wordpress.com/


More information about the samba mailing list