如何使用cygwin在Windows 7中使用cron运行脚本? [英] How to run an script using cron in Windows 7 using cygwin?

查看:85
本文介绍了如何使用cygwin在Windows 7中使用cron运行脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在cron中安装了所有依赖项。我的脚本工作正常,我也测试了cron,我认为它也能正常工作。但是,我想设置一个运行脚本文件的任务。这是我需要帮助的地方,请有人能给我一些帮助吗?这是cron代码:我的文件位于etc / cron.d下



I have installed all the dependencies in cron. My scripts are working properly, and also I have tested cron which I think works properly as well. However, I would like to set up a task to run a script file. Here is where I need help, please can anyone provide me some help? Here is cron code: My file is under etc/cron.d

SHELL=/bin/sh
PATH=/usr/bin:usr/sbin:
*/1 * * * * root testingemail.sh

推荐答案

这篇关于如何使用cygwin在Windows 7中使用cron运行脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆