Re: cron problem in W2K Proffesional

2002-12-09 Thread Andrew DeFaria
Eric De La Cruz Lugo wrote: The cron works now!, the output its ok (date.txt). but with my script the things are different, here are the files I use.. I tested the script from the command line and work flawlesly, but when i add it to my crontab it does not work has expected! the files are atach

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
The cron works now!, the output its ok (date.txt). but with my script the things are different, here are the files I use.. I tested the script from the command line and work flawlesly, but when i add it to my crontab it does not work has expected! the files are atached to the mail, and the output

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
> >5. Check your crontab: crontab -l > > Done it shows: > > # DO NOT EDIT THIS FILE - edit the master and > reinstall. > # (/tmp/crontab.1036 installed on Fri Dec 6 13:04:23 > 2002) > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 > 17:09:55 corinna Exp $) > * * * * * /usr/sbin/date >> /

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
--- "Harig, Mark A." <[EMAIL PROTECTED]> wrote: > It appears as though everything is set correctly. > > Try: > >1. Shut down your cron service. Done. >2. Run Cygwin's setup.exe to uninstall 'cron'. Done. >3. Run setup.exe a second time to > download/install > a new copy of

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
crontab: crontab -l 6. Install the cron service and start it. > -Original Message- > From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 4:53 PM > To: Harig, Mark A.; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > &

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
down your cron service and restart it. > -Original Message- > From: Harig, Mark A. > Sent: Friday, December 06, 2002 4:20 PM > To: Eric De La Cruz Lugo; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > > > > > > drwxrwxrwx 3 a

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
Also, once you have done this, shut down your cron service and restart it. > -Original Message- > From: Harig, Mark A. > Sent: Friday, December 06, 2002 4:20 PM > To: Eric De La Cruz Lugo; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > > >

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
> > drwxrwxrwx 3 asuncion Ninguno 0 Apr > 12 2002 /var/cron > > drwxrwxrwx 2 asuncion Ninguno 0 Dec 6 > 13:04 /var/cron/tabs > For some reason, your 'sticky bit' settings didn't get set for /var/cron/ and /var/cron/tabs/. Instead of 'drwxrwxrwx', your permis

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
--- "Harig, Mark A." <[EMAIL PROTECTED]> wrote: > What are the ownership/permissions for '/var'? That > is, > >ls -ld /var > drwxrwxrwx 6 Administ Ninguno 0 Apr 12 2002 /var drwxrwxrwx 3 asuncion Ninguno 0 Apr 12 2002 /var/cron drwxrwxrwx 2 asunci

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
What are the ownership/permissions for '/var'? That is, ls -ld /var > -Original Message- > From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 2:09 PM > To: [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
>1. Have you read /usr/doc/Cygwin/cron.README? Yes. >2. Have you tried using a simple crontab entry? > What have you tried? yes i am using now the following example: crontab -e * * * * * /usr/bin/date >> /tmp/date.txt "as you suggested to Buck Turgidson" but there is nothing yet in /tmp/ (6

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
1. Have you read /usr/doc/Cygwin/cron.README? 2. Have you tried using a simple crontab entry? What have you tried? For future reference, please include your 'cygcheck.txt' file as an attachment only. > > Just for the record, i have done the following: > > cygrunsrv -E cron > cygrunsrv -R cr

Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Information about passwd and group files Just for the record (again) passwd file: SYSTEM:*:18:544:,S-1-5-18:: Administradores:*:544:544:,S-1-5-32-544:: Administrador:unused_by_nt/2000/xp:500:513:U-SRVCORDEMEX\Administrador,S-1-5-21-854245398-1202660629-1343024091-500:/home/Administrador:/bin/bas

Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Just for the record, i have done the following: cygrunsrv -E cron cygrunsrv -R cron cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" cygrunsrv -S cron Here is my new output too. after doing: $CYGWIN='tty ntsec' $EXPORT CYGWIN Cygwin Win95/NT Configuration Diagnostics Current Sy

Re: cron problem in W2K Proffesional

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 08:49:06AM -0800, Eric De La Cruz Lugo wrote: >Hi!, i just installed cygwin in my PC in order to run >a shell script, this script run just fine form the >command line, now i need to run this script every >minute ("cron" and "crontab" issue). > >I have read all the mail list

cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Hi!, i just installed cygwin in my PC in order to run a shell script, this script run just fine form the command line, now i need to run this script every minute ("cron" and "crontab" issue). I have read all the mail list and FAQ and README files and applied every posible hint and advise, but my s