Re: Cron jobs don't run

2010-11-02 Thread Janos Dohanics
On Mon, 01 Nov 2010 21:14:38 -0400
Pierre A. Humblet pierre.humb...@ieee.org wrote:

 At 04:59 PM 11/1/2010, Janos Dohanics wrote:
 I'm trying to set up cron jobs in a new cygwin installation. The cron
 service is running, but jobs are not executed.
 
 I ran cron_diagnose.sh which says The SYSTEM user cannot access the
 mount point /usr/bin. mount shows:
 
 On cygwin 1.5:
 C:~: fgrep -1 'access' /bin/cron_diagnose.sh | fgrep cannot
  echo The SYSTEM user cannot access the mount point
 ${mnt_point}. On cygwin 1.7
 C:~: fgrep -1 'access' /bin/cron_diagnose.sh | fgrep cannot
 
 So you are using an old version of cron_diagnose.
 
 To debug, start with a crontab that executes a simple
 command  such as date  /tmp/cron.out every minute.
 You can use cronevents to view the log.
 If you need more help, run cronbug and send it as an attachment.
 
 Pierre

Pierre,

Thank you for your help.

Before I had the chance to read your e-mail though, I have reinstalled
cygwin and cron works now.

-- 
Janos Dohanics

--
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



Cron jobs don't run

2010-11-01 Thread Janos Dohanics
I'm trying to set up cron jobs in a new cygwin installation. The cron
service is running, but jobs are not executed.

I ran cron_diagnose.sh which says The SYSTEM user cannot access the
mount point /usr/bin. mount shows:

$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type ntfs (binary,posix=0,user,noumount,auto)

However, cygcheck shows:

C:\cygwin/  system  binary,auto
C:\cygwin\bin/usr/bin   system  binary,auto
C:\cygwin\lib/usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  userbinary,auto

cron_diagnose.sh suggest mount -f -s -b [DOS path to Cygwin]/bin
/usr/bin, but I guess the -s and -b switches are not supported by
mount (the man page doesn't mention them) and mount -f c:/cygwin/bin
/usr/bin mount: /usr/bin: Operation not permitted.

How do I fix this problem? I have attached cygcheck.out

-- 
Janos Dohanics


cygcheck.out
Description: Binary data
--
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: Cron jobs don't run

2010-11-01 Thread Pierre A. Humblet

At 04:59 PM 11/1/2010, Janos Dohanics wrote:

I'm trying to set up cron jobs in a new cygwin installation. The cron
service is running, but jobs are not executed.

I ran cron_diagnose.sh which says The SYSTEM user cannot access the
mount point /usr/bin. mount shows:


On cygwin 1.5:
C:~: fgrep -1 'access' /bin/cron_diagnose.sh | fgrep cannot
echo The SYSTEM user cannot access the mount point ${mnt_point}.
On cygwin 1.7
C:~: fgrep -1 'access' /bin/cron_diagnose.sh | fgrep cannot

So you are using an old version of cron_diagnose.

To debug, start with a crontab that executes a simple
command  such as date  /tmp/cron.out every minute.
You can use cronevents to view the log.
If you need more help, run cronbug and send it as an attachment.

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