Permission Problem with crontab

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Apr 11 14:46:00 GMT 2008


Adi B Treiner (abt Account) wrote:
> Hi,
> 
> 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                              http://www.rfk.com
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:      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