Cron is running but jobs are not being executed

Ruzomberka, Mark mruzomberka@traffic.com
Fri Jul 22 15:06:00 GMT 2005


I recently installed cron in my cygwin environment on my Windows XP machine. 
I am having trouble getting scripts to execute however. 

I see that cron is running

[mark/tmp]:>ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1592       1    1592       1592    ?   18 09:38:36 /bin/cygrunsrv
     1708    1592    1708       1780    ?   18 09:38:36 /usr/sbin/cron
     2668       1    2668       2668  con 17205 09:50:22 /bin/bash
     2952    2668    2952        244  con 17205 09:58:48 /bin/ps
[mark/tmp]:>

I have checked my crontab file: 

[mark/tmp]:>crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/mruzomberka installed on Thu Jul 21 17:16:16 2005)
# (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
0 * * * * echo "WAKE UP" 2>&1 /dev/console
10 * * * * echo "WAKE UP" 2>&1 /dev/console
20 * * * * echo "WAKE UP" 2>&1 /dev/console
30 * * * * echo "WAKE UP" 2>&1 /dev/console
35 * * * * echo "WAKE UP" 2>&1 /dev/console
40 * * * * echo "WAKE UP" 2>&1 /dev/console
50 * * * * echo "WAKE UP" 2>&1 /dev/console
*  * * * * date >> /tmp/date.txt[mark/tmp]:>

It is my understanding of the crontab file that I should be getting "WAKE UP" statements printed to my screen every ten minutes. 
I also should be getting a file created in my /tmp directory called date.txt which displays the date every minute and then is over-written. 

No jobs are being executed. 

I ran:

[mark/bin]:>./cron_diagnose.sh
cron_diagnose.sh 1.10

which out put.....

This script did not find any errors in your cron setup.

All of my research has lead me to belive the problem is with permissions. My log on to our windows network is "mruzomberka". 
This is also the name of the crontab I am currently using: /var/cron/tabs/mruzomberka

[mark/tmp]:>ls -l /var/cron/tabs/
total 3
-rwx------+ 1 mruzomberka mkgroup-l-d 313 Jul 15 16:33 mark
-rwx------+ 1 mruzomberka mkgroup-l-d  42 Jul 15 16:31 mark~
-rw-r-----  1 mruzomberka root        530 Jul 21 17:16 mruzomberka

Can someone please help me with this issue? 

Thanks is advance, 

Mark Ruzomberka

P.S. this is my first post to this list


 <<cygcheck.out>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 20388 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050722/a34ea803/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list