config cygwin

config cygwin cron$ which cron-config/usr/bin/cron-config$ cron-configDo you want to install the cron daemon as a service? (yes/no) yesEnter the value of CYGWIN for the daemon: [ ] Cygwin CronERROR: Only "[no]ntsec" "[no]smbntsec" "[no]traverse" allowed.Enter the value of CYGWIN for the daemon: [ ] ntsecYou must decide under what account the cron daemon will run.If you are the only user on this machine, the daemon can run as yourself. This gives access to all network drives but only allows you as user.Otherwise cron should run under the local system account. It will be capable of changing to other users without requiring a password, using one of the three methods detailed in http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1Do you want the cron daemon to run as yourself? (yes/no) noRunning cron_diagnose ...... no problem found.INFO: A cron daemon is already running.In case of problem, examine the log file for cron,/var/log/cron.log, and the Windows event log (using /usr/bin/cronevents)for information about the problem cron is having.Examine also any cron.log file in the HOME directory(or the file specified in MAILTO) and cron related files in /tmp.If you cannot fix the problem, then report it to cygwin@cygwin.com.Please run the script /usr/bin/cronbug and ATTACH its output(the file cronbug.txt) to your e-mail.WARNING: PATH may be set differently under cron than in interactive shells. Names such as "find" and "date" may refer to Windows programs.$ cygrunsrv -R "Cron daemon"cygrunsrv: Error removing a service: OpenService: Win32 error 1060:The specified service does not exist as an installed service.$ cygrunsrv -R cron$ cron-configDo you want to install the cron daemon as a service? (yes/no) yesEnter the value of CYGWIN for the daemon: [ ] ntsecYou must decide under what account the cron daemon will run.If you are the only user on this machine, the daemon can run as yourself. This gives access to all network drives but only allows you as user.Otherwise cron should run under the local system account. It will be capable of changing to other users without requiring a password, using one of the three methods detailed in http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1Do you want the cron daemon to run as yourself? (yes/no) yesPlease enter the password for user 'liqy': Reenter: Running cron_diagnose ...... no problem found.INFO: A cron daemon is already running.In case of problem, examine the log file for cron,/var/log/cron.log, and the Windows event log (using /usr/bin/cronevents)for information about the problem cron is having.Examine also any cron.log file in the HOME directory(or the file specified in MAILTO) and cron related files in /tmp.If you cannot fix the problem, then report it to cygwin@cygwin.com.Please run the script /usr/bin/cronbug and ATTACH its output(the file cronbug.txt) to your e-mail.WARNING: PATH may be set differently under cron than in interactive shells. Names such as "find" and "date" may refer to Windows programs.$ cat /var/log/cron.log/usr/sbin/cron: can't lock /var/run/cron.pid, otherpid may be 4428: Resource temporarily unavailable/usr/sbin/cron: can't lock /var/run/cron.pid, otherpid may be 4428: Resource temporarily unavailable$ ps -ef |grep 4428 SYSTEM 4428 1 ? 13:46:40 /usr/sbin/cron$ > /var/log/cron.log$ cat /var/log/cron.log$ crontab -l# DO NOT EDIT THIS FILE - edit the master and reinstall.# (t.cron installed on Mon Jun 21 13:41:56 2010)# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)* * * * * date>>t.log$ pwd/home/liqy$ cat t.logMon Jun 21 13:47:02 MPST 2010Mon Jun 21 13:48:02 MPST 2010Mon Jun 21 13:49:02 MPST 2010Mon Jun 21 13:50:03 MPST 2010Mon Jun 21 13:51:03 MPST 2010Mon Jun 21 13:52:02 MPST 2010Mon Jun 21 13:53:02 MPST 2010Mon Jun 21 13:54:02 MPST 2010Mon Jun 21 13:55:02 MPST 2010
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值