Imran Merali wrote: > I am trying to get cron to execute a bash script at a certain time, > but it is not doing so. The script itself works well, but it doesn't > seem to want to run when i set it up as a cron job. The same thing > happens when I try to do something simple like output a timestamp to a > text file each minute. This is a fresh install. Additionally, the line > in my crontab is identical to that in the crontab on my bsd machine. I > used cron_diagnose.sh, but it said my install was fine, with the > exception of a little issue with sendmail, which I tried to correct > with a symlink to a working mailer. [snip]
First look into the Windows Event Viewer + Application, you should find a few events that have, among other things, the crond output. Second read $CYGWIN_HOME/usr/share/doc/Cygwin/cron.README and see what you need to have cron email you. BTW bash scripts work fine with cron, what you describe as doing should work with no problem. HTH -- René Berber -- 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/