www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.5 required=5.0 tests=BAYES_40,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <28833847.post@talk.nabble.com> |
Date: | Wed, 9 Jun 2010 10:59:12 -0700 (PDT) |
From: | curiousgeorge <cthoma29 AT yahoo DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | crontab not working-need some advice |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, I installed cygwin on windows server 2003 and am trying to learn about cron. I created a simple script as follows: #!/usr/bin/bash #move the file every 1 min echo 'date' >> datelog.txt mv datelog.txt outbound I then created a crontab using the command crontab -e as follows: # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.3k4GtqrIIX installed on Sat Jun 5 14:51:33 2010) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) */1 * * * * /home/administrator/scripts/mvscript but nothing is happening. I was able to successfully run the script manually. But when trying to accomplish it through cron, nothing happens. I checked the services in start -->administrative tools-->services and I see cron Daemon running. I dont see anything in logs either. Any advice would be appreciated. Thanks, -- View this message in context: http://old.nabble.com/crontab-not-working-need-some-advice-tp28833847p28833847.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |