Re: cron does not do anything

2009-04-22 Thread Pierre A. Humblet
- Original Message - From: "Ting Zhou" <> Sent: Tuesday, April 21, 2009 6:20 PM Right on, Pierre! Thanks a lot for the clue. Finally I figured it out. There were two problems. The first problem, yes, I was a bit impatient and should've waited one more minute. It seems crontab change

Re: cron does not do anything

2009-04-21 Thread Larry Hall (Cygwin)
Ting Zhou wrote: The first problem, yes, I was a bit impatient and should've waited one more minute. It seems crontab change does take more than one minute to be effective. Once I changed it to "* * * * *", I saw an error message in /var/log/messages saying "(CRON) error (can't cd to HOME)", whi

RE: cron does not do anything

2009-04-21 Thread Ting Zhou
9 PM > To: Ting Zhou > Cc: cygwin@cygwin.com > Subject: Re: cron does not do anything > > > - Original Message - > From: "Ting Zhou" <> > Sent: Tuesday, April 21, 2009 1:33 PM > > > Thanks for the quick response. The crontab line is literally

Re: cron does not do anything

2009-04-21 Thread Pierre A. Humblet
- Original Message - From: "Ting Zhou" <> Sent: Tuesday, April 21, 2009 1:33 PM Thanks for the quick response. The crontab line is literally like: 28 19 * * * /usr/bin/touch /tmp/abcd Pierre, attached is the fgrep result of all the logs in /var/log. "cron.log" was created but is emp

RE: cron does not do anything

2009-04-21 Thread Ting Zhou
anks, Ting > -Original Message- > From: William Sutton [mailto:will...@trilug.org] > Sent: Tuesday, April 21, 2009 10:26 AM > To: Pierre A. Humblet > Cc: Ting Zhou; cygwin@cygwin.com > Subject: Re: cron does not do anything > > Did you check that your cron job lin

Re: cron does not do anything

2009-04-21 Thread William Sutton
Did you check that your cron job line is formatted correctly? If your line is literally of the form /usr/bin/touch /tmp/abcd then it definitely won't run because it is incorrectly written. William Sutton On Tue, 21 Apr 2009, Pierre A. Humblet wrote: - Original Message - From: "Tin

Re: cron does not do anything

2009-04-21 Thread Pierre A. Humblet
- Original Message - From: "Ting Zhou" <> To: I'd like to report a bug with Vixie cron. I have cygwin installed with cron option. And I ran "cron-config" and set up everything. Cron-diagnose script didn't find any problem. Cron service was also started without problem. However, cro

cron does not do anything

2009-04-21 Thread Ting Zhou
I'd like to report a bug with Vixie cron. I have cygwin installed with cron option. And I ran "cron-config" and set up everything. Cron-diagnose script didn't find any problem. Cron service was also started without problem. However, cron just wouldn't run the simple command I set up in the cront