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] |
Hi, ? I am trying to run a simple script using crontab. $ more /cygdrive/c/list ls -ltr /cygdrive/c/ > /tmp/li.txt $ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.ry22Lho7uW installed on Sun Mar 28 14:03:55 2010) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) 4 14 * * * /cygdrive/c/list $ ps -ef ???? UID???? PID??? PPID TTY???? STIME COMMAND Administ??? 3744?????? 1?? 0? 21:44:06 /usr/bin/rxvt Administ??? 3672??? 3744?? 1? 21:44:07 /usr/bin/bash ? SYSTEM???? 412?????? 1?? ?? 00:27:51 /usr/bin/cygrunsrv ? SYSTEM??? 4060???? 412?? ?? 00:27:51 /usr/sbin/cron Administ??? 4036?????? 1?? 2? 14:08:08 /usr/bin/rxvt Administ??? 3756??? 4036?? 3? 14:08:08 /usr/bin/bash Administ???? 632??? 3672?? 1? 14:15:32 /usr/bin/ps Please find attachment - cronbug.txt It once run correctly, i am able to see in logs too. 2010/03/28 01:00:01 [SYSTEM] /usr/sbin/cron: PID 4060: (Administrator) RELOAD (tabs/Administrator) 2010/03/28 01:01:01 [SYSTEM] /usr/sbin/cron: PID 4068: (Administrator) CMD (/cygdrive/c/list > /tmp/error.log 2>&1) But after that not sure what went wrong, if i change the time, cron is not executing the /cygdrive/c/list. Can you please let us know what may be the problem. Any help is much appreciated. Thanks, Rajashekar.
Attachment:
cronbug.txt
Description: Text document
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |