Samba and cron jobs
Urban Widmark
urban at teststation.com
Wed Apr 25 22:40:11 GMT 2001
On Wed, 25 Apr 2001, Clinton Byrne wrote:
> I want this process to be automated so i have written a small backup
> script that will be run by cron as root. If i run the script
> interactively it works fine. However when run as a cron job it spits
> out and error saying access denied. The backup script is as follows:
>
> env | grep PATH
> /usr/bin/smbmount //tobermory/comp /pub/tobermory -o password=xxxx,
> user=abc, uid=0, gid=0, fmask=700, dmask=700, debug=100
Do you really have space between the options? Try removing the spaces ...
> Does anyone have any ideas why cron won't run properly. If i run the
> /usr/bin/smbmount .. blah blah .... on the command line it works fine
Different paths?
/Urban
More information about the samba
mailing list