This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Thu, 28 Jul 2016 14:20:15 -0600
- Subject: Re: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?
- Authentication-results: sourceware.org; auth=none
- References: <1862051364.5309945.1469633495642.JavaMail.yahoo.ref@mail.yahoo.com> <1862051364.5309945.1469633495642.JavaMail.yahoo@mail.yahoo.com>
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