[转贴]windows下启动cygwin的cron/crontab
Hick @ 2008/11/01 21:14:28
前阵子又进一步了解了 cygwin ,原来还需要启动一个服务才能够搞定 cron 。cygwin 下不仅仅是 cron 服务的方式需要以 windows 启动,消息队列、共享内存以及信号量等进程间通信方式也需要以 windows 服务方式启动 cygserver 以后才可用。除了 cron 包,还需要确认 cygrnsrv 包已经安装:
# 安装 cron 服务
cygrunsrv -I cron -p /usr/sbin/cron -a -D
# 启动服务: 也可以用 windows 的启动方式 net start cron
cygrunsrv -S cron
# 启动 cygserver
cygrunsrv -I cygserver -p /usr/sbin/cygserver -e "CYGWIN=server"
启动 cron 以后,即使关闭 cygwin 命令窗口,crond 还是会继续运行 :) ,而且默认是自动启动的服务,重启机器以后依然运行—不需要开 cygwin 窗口。
分享到:
相关推荐
The Cygwin team has updated the cygwin package and deprecated support for various Windows versions over time. The below table shows the Windows version with the corresponding latest version of OpenSSH...
Windows下的SSH安装之Cygwin
windows下的shell,便于在windows下学习linux
windows下安装Cygwin指南含安装包
ansible-cygwin安装程序在Windows下以Cygwin安装Ansible 该Powershell脚本将下载并安装Cygwin和Ansible。 由于Ansible官方仅适用于Linux,因此有必要通过Cygwin在Windows上安装并执行它。 从Powershell运行 Set-...
在Windows下利用cygwin仿unix环境安装配置Hadoop
龙芯1B EJTAG在windows环境下的下载工具,亲自测验可用,附有详细操作ejtag-debug-cygwin-v3.8.2步骤,驱动需要另行安装哦。
windows下生成arm-linux-gcc的工具.省了自己配置和编译的很多麻烦.生成的arm-linux-gcc自己进行过验证,可以使用.
android ndk crystax版...在cygwin/home/你计算机名 文件夹下,找到.bash_profile,打开,在最后加入以下文字。关闭,重启。 ANDROID_NDK_ROOT=/cygdriver/d/java/android-ndk-r6-crystax-2 export ANDROID_NDK_ROOT
NULL 博文链接:https://lindows.iteye.com/blog/221961
在Windows下本地安装Cygwin,在Windows下本地安装Cygwin
windows版本的cygwin,可以在windows环境下使用该工具模拟linux环境
memcached-1.4.24-windows-x64.zip windows memcached服务端 cygwin64gcc编译
Cygwin下的mips-linux-gcc交叉编译工具链,版本:4.8.4
cdo 1.9.7.1 windows64位安装文件
windows平台下cygwin搭建hadoop,不错的资料欢迎下载
包含: Cygwin setup-x86_64.exe 官网最新版 apt-cyg tcpreplay-4.4.1.tar.gz WpdPack_4_1_2.zip
ssh-pageant, 一个用于 CYGWIN/MSYS的SSH认证代理 Putty sshCYGWIN/MSYS的SSH认证代理,它将OpenSSH链接到 Putty的... SSH是一个用于 Windows的小型工具,允许你使用来自 CYGWIN Pageant和 MSYS shell 环境的SSH k
它对于学习UNIX/Linux操作环境,或者从UNIX到Windows的应用程序移植,或者进行某些特殊的开发工作,尤其是使用GNU工具集在Windows上进行嵌入式系统开发,非常有用。随着嵌入式系统开发在国内日渐流行,越来越多的...
在Windows下用Eclipse+CDT+cygwin搭建GDB调试平台 以下软件均为Windows平台下的版本。 1、 安装JDK,目的是为了Eclipse的运行。 版本是jdk-1_5_0_06-windows-i586-p.exe或更高 ,下载地址...