Re: cygwin mounts not detected by cronjob

2012-01-18 Thread Tom Chiverton
What do you mean by 'does not see'. How do you know ?

-- 
Tom

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



RE: cygwin mounts not detected by cronjob

2012-01-18 Thread Pierre A. Humblet
 -Original Message-
 From: Sandile Mnqayi
 Sent: Wednesday, January 18, 2012 08:01
 
 Hello,
 
 Please suggest a solution to the issue of the cygwin mounts not being
visible to
 the cronjobs.
 
  echo 'D:/Program\040Files/International\0407.0 /usr/local/bin ntfs binary
0 0'
  /etc/fstab I have performed above mount and cron does not see this
entry, please advise?

I am not sure when edits to /etc/fstab become active. Is it shown by mount?
Also is D a local disk or a network drive? If the latter, use the
//machine/share format
as the letter drives need not be the same under Cron.
Note that if it's a network drive you may also have access issues that can
be fixed by
running cron as yourself or by using advanced authentication methods,
see /usr/share/doc/Cygwin/cron-.README

Pierre


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



Re: cygwin mounts not detected by cronjob

2012-01-18 Thread Tom Chiverton
On 18 January 2012 15:26, Pierre A. Humblet pierre.humb...@ieee.org wrote:
 I am not sure when edits to /etc/fstab become active. Is it shown by mount?

And why write to fstab when you could just mount it when you need it ?

-- 
Tom

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