This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cron Won't Run Jobs


I installed CYGWIN yesterday, and am having trouble getting cron to work.
My cron job, set to run every minute, does not execute.

I have read through the archives, and below is relevant data.

I would appreciate any advice on what to try next


chmod 1777 /var/cron
chmod 1777 /var/cron/tabs

cygrunsrv -E cron
cygrunsrv -R cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
cygrunsrv -S cron


This is what the process list looks like:

/var/cron > ps -ef
     UID     PID    PPID TTY     STIME COMMAND
  buck       395       1 con  08:36:06 /usr/bin/bash
  SYSTEM     392       1   ?  08:40:54 /usr/bin/cygrunsrv
  SYSTEM     350     392   ?  08:40:54 /usr/sbin/cron
  buck        63     395 con  08:48:11 /usr/bin/ps


This is /etc/group

/var/cron > cat /etc/group
SYSTEM:S-1-5-18:18:
None:S-1-5-21-926890155-1422859606-844764980-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
/var/cron >



This is my cronjob

/var/cron > crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.312 installed on Thu Dec  5 08:39:21 2002)
# (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55 corinna Exp $)
*/1 * * * *  monsql
/var/cron >




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]