View Single Post
  #1  
Old March 8th, 2006, 01:27 PM
kandombe kandombe is offline
Registered User
 
Join Date: Feb 2005
Location: Spain
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
kandombe is on a distinguished road
mount_smbfs in crontab

I have some scheduled tasks whose results should go to a common computer so that other people can access them. That's why I have included in my .sh file a command such as

mount_smbfs //user:password@host/shared_folder /Volumes/shared_point
cp some_files
umount /Volumes/shared_point

The problem is that this script works perfectly when running from the Terminal but the samba remote volume refuses to mount when the process is activated from crontab.

Any ideas? Thanks in advance for the help.
Reply With Quote