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]

Cygwin Cron problem


Before I start, I would like to inform that, I went through all FAQs and
other threads before posting here.
I came across this thread where I faced the similar error, but couldn't get
what they did to resolve it.

I 'm trying to schedule a shell script on cygwin using cron. No matter what
I do I don't seem to get the cron job executing my bash script.

My script is

echo `date` > /home/test/temp.log

crontab -e is having the following details

* * * * * sh /home/test/ > /home/test/ 2>&1

I did use the paths in the script itself and I also used the windows path
where the cygwin installed(/cygdrive/d/cygwin/).

I also tried using the following by editing the crontab:

* * * * * date > /home/test/date.txt

Still not working. I don't have administrator login. I ran the and it din't give me any errors.

What am I doing wrong? Please help I 'm a newbie to Cygwin.

View this message in context:
Sent from the Cygwin Users mailing list archive at

Unsubscribe info:
Problem reports:

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