Dear, I run this command from my Linux box in order to upload a file
to a Windows machine and it works OK:

/usr/bin/smbclient \\\\windows-server\"backup db"$ -U jelo 123456 -c
"lcd /root;put mysql-dump.sql"

But when I try to run the same command from /etc/crontab, it fails:

00 10   * * *   root    /usr/bin/smbclient \\\\windows-server\\"backup
db"$ -U jelo 123456 -c "lcd /root;put mysql-dump.sql"

I tell you I've restarted cron daemon and it always fails.

What's wrong in cron line ???

Really thanks

JeLo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to