public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrew DeFaria <ADeFaria@Salira.com>
To: cygwin@cygwin.com
Subject: Re: cron problem in W2K Proffesional
Date: Mon, 09 Dec 2002 17:10:00 -0000	[thread overview]
Message-ID: <3DF53C1D.3080404@Salira.com> (raw)
In-Reply-To: <20021207014022.35565.qmail@web21406.mail.yahoo.com>

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 atached to the mail, and the output from
> the script being executed by the cron its there too.
>
> hope you can help me or advise me.

My suspicion would be that somewhere along the line you are referencing 
a mount point or a mapped location that just is not accessible from 
cron. Cron's environment does not insure that all network locations are 
accessible. I remember asking about this in the past. There is some 
difference between mount points where some are "global" and some are 
not. IIRC I never got a satisfactory answer as to the question of how 
one tells the difference.

You should probably add some cron entries to ls various files you depend 
on using their exact paths that you use in your scripts. One of them 
will most likely fail.

Meantime you might want to set up SMTP so that cron can email you when 
you make typos like /usr/sbin/date... :-)




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2002-12-10  0:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06 16:07 Harig, Mark A.
2002-12-06 20:53 ` Eric De La Cruz Lugo
2002-12-09 17:10   ` Andrew DeFaria [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-06 15:14 Harig, Mark A.
2002-12-06 15:52 ` Eric De La Cruz Lugo
2002-12-06 13:30 Harig, Mark A.
2002-12-06 13:24 Harig, Mark A.
2002-12-06 12:04 Harig, Mark A.
2002-12-06 12:05 ` Eric De La Cruz Lugo
2002-12-06 14:03 ` Eric De La Cruz Lugo
2002-12-06 11:21 Eric De La Cruz Lugo
2002-12-06 11:02 Harig, Mark A.
2002-12-06  8:51 Eric De La Cruz Lugo
2002-12-06  9:07 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DF53C1D.3080404@Salira.com \
    --to=adefaria@salira.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).