Installing Cron on Windows 2003 Server...
Kevin Markle
kmarkle@pbs.org
Thu Mar 15 21:25:00 GMT 2007
After serious thinking René Berber wrote :
> 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.
This is the windows log?
The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: /usr/sbin/cron: PID 5060: (kmarkle)
MAIL (mailed 46 bytes of output but got status 0x0001
).
--
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/
More information about the Cygwin
mailing list