|
|
🦋 Using cron inside Cygwin
I set up some cron jobs on my NT computer today. Googling "cron cygwin" was kind of helpful but information was scattered around pretty freely. In the interests of collecting it in one place: - In Cygwin setup, you need to select the cron package, which is under the Admin category.
- To start cron as a service, enter two commands: cygrunsrv -I cron -p /usr/sbin/cron -a -D, and cygrunsrv -S cron. This appears to install cron as an automatic service, though I have not rebooted NT to make sure this is true.
- To access your crontab, run crontab -e. The format is the same as /etc/crontab, except you don't specify a user name with each entry. The entries will be started as the user whose crontab it is. (This might be obvious to people who know more about cron than I.)
posted afternoon of Friday, March second, 2007
| |
|
Drop me a line! or, sign my Guestbook. • Check out Ellen's writing at Patch.com.
| |