This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cron and cygwin
- From: Ravi Ram <raviram at streamprocessors dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 05 Mar 2005 10:37:28 -0800
- Subject: cron and cygwin
- Reply-to: Ravi Ram <raviram at streamprocessors dot com>
I have setup cron services in cygwin and am trying to run a csh scriot
using cron
nad could not get it the script working. I can run the script as it is
but when i
launch it using cron it doesn't work. The script is in a samba share.
crontab -e
------------
13 10 * * * (/mnt/user/test/sw/cron.run | /usr/bin/email -s
cron_test raviram@streamprocessors.com)
Cron works if i remove the cron.run and use something like the one shown
below
13 10 * * * ( date | /usr/bin/email -s cron_test
raviram@streamprocessors.com)
I started cron as me using /bin/cron-config. I also tried using the
cygrunserver -E -R and -I -S options.
I mounted the /mnt/user partition using mount -X ...
cron.run
----------
#!/usr/bin/csh
#(cd /cygdrive/u/p4_main/test/sw; make ncheck)
(cd /mnt/user/test/sw; rm -f cron.test; /usr/bin/date; touch cron.test)
I would appreciate any pointers, help.
Thanks a lot.
--ravi
--
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/