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]

RE: Problems with cron - Almost there


I think the format for every 5 minutes is 
/5 * * * * touch /tmp/test.file

read man 5 crontab rathe than just man crontab.

> -----Original Message-----
> From: Jarrod Hermer [mailto:jarrod@mybeat.net]
> Sent: 02 July 2003 12:51
> To: cygwin@cygwin.com
> Cc: 'Elfyn McBratney'; 'Harig, Mark'
> Subject: RE: Problems with cron - Almost there
> 
> 
> Thanks for the help, that seemed to solve my problem.
> 
> Now I seem to be stumped by a simple problem. I have read all the cron
> and crontab man pages but still cannot seemed to get my job 
> to run every
> 5 minuts. The following causes the hello.txt file to be 
> generated every
> minute:
> 
> * * * * * echo "Hello World" > /home/Jarrod/hello.txt
> 
> So I would expect this to be execute every 5 minutes. It however seems
> to only run at 5 minutes past every hour.
> 
> 5 * * * * echo "Hello World" > /home/Jarrod/hello.txt
> 
> 
> Thanks,
> Jarrod
> 
> -----Original Message-----
> From: Harig, Mark [mailto:maharig@idirect.net] 
> Sent: Wednesday, July 02, 2003 12:45 AM
> To: Jarrod Hermer
> Cc: cygwin@cygwin.com
> Subject: RE: Problems with cron
> 
> From your cygcheck text, here are some of your mount
> points:
> 
> C:\cygwin      /          user    binmode
> C:\cygwin/bin  /usr/bin   user    binmode
> C:\cygwin/lib  /usr/lib   user    binmode
> 
> These likely need to be 'system' mount points instead of
> 'user' mount points.  This situation probably came about
> if you selected setup.exe's "Install For" option "Just Me"
> instead of "All Users".  Please run the attached updated 
> cron_diagnose.sh script to see if it helps with your
> problem.
> 
> 
> --
> 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/
> 

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


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