Kevin Markle wrote: > Larry Hall (Cygwin) explained on 3/15/2007 : >> Kevin Markle wrote: >>> Hello, >>> >>> I'm attempting to install cron on a Windows 2003 machine and am >>> somewhat Unix challanged. Is there a documented procedure that works >>> somewhere. It seems that there are tons of posts out relating to this >>> but they all seem to offer different information. :o) I was wondering >>> if anybody has had any luck actually getting cron to work on a w3k >>> machine. If possible I would like to run the service with a Network >>> login if not a local admin would work... >> >> /usr/share/doc/Cygwin/cron.README > > I used that and it worked I have installed the service as a network user > | logged in as that user and created this crontab file but it doesn't > run. The file runs okay from command prompt but not from the crontab file? > > 1 * * * * /time.bash > /dev/null 2>&1
It's not clear if you used `crontab -e` or not? That command is the way to add entries to your crontab, and if it doesn't run that means either cron is not running (as a service) or there is a problem (probably logged in Windows' event log). > In my reading I gathered that this was a way to get around intalling a > mail client. Setting up cron to get around installing a mail client? Are you kidding? mail clients (or servers) have nothing to do with cron; cron uses the server (ssmtp or exim, whatever is symbolically linked to sendmail) to send messages. -- 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/