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: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?


On Jul 27, 2016, at 9:31 AM, Peder Sverdrup <psverdrup@yahoo.com> wrote:
> 
> When I open the cygwin terminal I can run the script manually. But if I include it in my crontab, it does not run.

Append something like “ > /bup.log 2>&1 “ to the end of your crontab lines and examine the output.  That will probably clue you into the problem; if not, post the output here.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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