* Thu 2001-12-20 Corinna Vinschen <[EMAIL PROTECTED]> list.cygwin * Message-Id: <[EMAIL PROTECTED]> | On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote: > >> Any info on how to make this cron work, will be of great help to us all. > | Just to be sure, I'm telling my setup.
Thank you Corinna, however I have exactly the same problem as the original poster. This is the error from event viewer after: //root@W2KPICASSO $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" //root@W2KPICASSO $ mkdir /home/system //root@W2KPICASSO $ net start cron The cron service is starting. The cron service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: cron : Win32 Process Id = 0xBC0 : Cygwin Process Id = 0xBC0 : starting service `cron' failed: execv: 255, error 0. I was missing the SYSTM from /etc/password, so Iadded the entry by hand there and created /home/systemm as in your setup. /var/cron/tabs/ is empty -rw-r--r-- 1 root None 327 Sep 23 14:23 /etc/group -rw-r--r-- 1 root None 509 Dec 24 01:49 /etc/passwd | - cron installed with > | cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" > | - My /etc/passwd (partly): > | root:*:0:0:,S-1-5-32-544:: | Everyone:*:1:1:,S-1-1-0:: | SYSTEM:*:18:18:,S-1-5-18:/home/system:/bin/bash | corinna::100:0:,S-1-5-21-XXX-YYY-ZZZ-1003:/home/corinna:/bin/tcsh | dummy::101:545:,S-1-5-21-XXX-YYY-ZZZ-1004:/home/dummy:/bin/bash > | - My /etc/group (partly): > | root:S-1-5-32-544:0: | everyone:S-1-1-0:1: | SYSTEM:S-1-5-18:18: | none:S-1-5-21-XXX-YYY-ZZZ-513:513: | users:S-1-5-32-545:545: > | - /etc, /etc/passwd and /etc/group world readable. > | - ls -laR /var/cron > | /var/cron: | total 0 | drwxrwxrwt 3 corinna root 0 Jul 10 11:51 . | drwxr-xr-x 6 dummy users 0 Mar 8 2001 .. | drwxrwxrwt 2 corinna root 0 Sep 19 19:00 tabs Hm. How did you made ugo+rwx . ? In my system, logged in as Administrator, the permissions still staty as: //root@W2KPICASSO /var/cron $ chmod ugo+rwx . //root@W2KPICASSO /var/cron $ ls -la total 0 drwxr-xr-x 3 root None 0 Jul 11 12:27 . drwxr-xr-x 8 root None 0 Feb 10 2001 .. drwxr-xr-x 2 root None 0 Jul 11 12:27 tabs | /var/cron/tabs: | total 2 | drwxrwxrwt 2 corinna root 0 Sep 19 19:00 . | drwxrwxrwt 3 corinna root 0 Jul 10 11:51 .. | -rw-r----- 1 dummy SYSTEM 225 Sep 19 19:00 dummy | -rw-r----- 1 corinna SYSTEM 230 Sep 19 18:58 corinna > | `corinna' is an admin account, `dummy' is a standard user. > | Cron works fine for both accounts, corinna as well as dummy. > | I don't know what's your problem is. I can just suggest to debug | your installation. Further debug instrustion where to look next are welcome. is it possible to run cron at the foregroung with strace or something in order to see why it fails? Jari -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/