Cron problem

Orfeo Da Via orfeo.davia@microline-srl.com
Mon Oct 10 07:34:00 GMT 2005


Hi Igor,

> We can't tell you where you are wrong until you tell us what you mean by
> cron "not working"...  Does the crontab fail to execute correctly (i.e.,
> every minute after 10:00?

first I'm sorry for my poor English...
in order to explain you what I mean when I wrote "cron does't work",
I try with the same command in my linux box (debian sid)


$ uname
 Linux

$ export VISUAL=zile

$ crontab -e

 ...edit the file..

$ crontab -l
 * 8 * * * /bin/date >> /home/calox/tmp/date.out 2>&1

$ date
  Mon Oct 10 08:48:36 CEST 2005

$ ls -l  /home/calox/temp
 total 4
 -rw-r--r--  1 calox calox 180 Oct 10 08:54 date.out

$ cat tmp/date.out

 Mon Oct 10 08:49:01 CEST 2005
 Mon Oct 10 08:50:01 CEST 2005
 Mon Oct 10 08:51:01 CEST 2005
 Mon Oct 10 08:52:01 CEST 2005
 Mon Oct 10 08:53:01 CEST 2005
 Mon Oct 10 08:54:01 CEST 2005

for me, in this example, cron "works", i.e. in ~/tmp directory I found
the file date.out. In cygwin, with the same crontab, the ~/tmp dir is
empty.


> I think, besides fixing the above typo, reading "man 5 crontab" would be
> helpful.

Well, I read the man, the README in Paul Vixie source code, and
cron.README but I didn't find where it's teh problem..







> HTH,
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA

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