Ilya Vishnyakov wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello, I'm trying to set up a simple cron job with the network drive.
I use cron 3.0.1 with cygwin.my crontab has this :
* * * * * /usr/bin/cp /tmp/date.txt /etc/date.txt
it works fine once i start the cron job
however when
try to
* * * * * /usr/bin/cp /tmp/date.txt /cygdrive/Z/PUBLIC/stas/date.txt
nothing happens!
/cygdrive/Z/PUBLIC/stas/ has drwxr-xr-x permissions
when i try to chmod it via cygwin, permissions wont change.

When i simply run the command: /usr/bin/cp /tmp/date.txt
/cygdrive/Z/PUBLIC/stas/date.txt, it works.

Please help me to figure out why cron wont work with the network drive.
Thank you!


<http://cygwin.com/faq/faq-nochunks.html#faq.using.shares>


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to