python and samba

2009-05-17 Thread Fatih Tumen
Hi, I am working on a directory synchronisation tool for Linux. $ gcc --version gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3) $ python -V Python 2.5.2 $ smbclient --version Version 3.0.28a I first designed it to work on the local filesystem. I am using filecmp.py (distributed with Python) for comparing

Re: cron, python and samba restart

2007-10-29 Thread Nick Craig-Wood
symbioid <[EMAIL PROTECTED]> wrote: > Is there something in the way I'm calling with the subprocess.call() > function that's not able to work through cron? My concern is that I'm > using sudo, and that may be where the problem lies. http://www.gratisoft.us/pipermail/sudo-users/2005-May/002518.

cron, python and samba restart

2007-10-27 Thread symbioid
Hello, I'm working on a project, and VMware has problems with suspending the virtual machine. We are accessing the machine through samba. However, when I suspend the VM, it stops the Samba service. The solution we hit upon was to run a script that checks, say, once a minute to determine whether