This is the mail archive of the cygwin 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: Permission Problem with crontab

Adi B Treiner (abt Account) wrote:

Maybe you are determining something within my cygwin configuration which
causes the issue.

The issue is, when I'm starting jobs from crontab which should transfer backup archives from a local depot to a network depot, I'm determining always no write access to the net share and therefore the cron job will fail.

If I'm doing the same from command line (bash) it works as expected.

Thanks in advance for any hints.

Please send future cygcheck attachments uncompressed.

Assuming that adolf_treiner is a user that has network access, I would
say the next most likely cause of your problem is your reliance on some
environment (variables most likely) that doesn't exist for 'cron'.  You
may want to review your script to see if there's anything obvious that
it relies on.  Anything you find should be added to the script so it
is set when 'cron' runs the script.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

Unsubscribe info:
Problem reports:

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