Problem running cron service
Fri Sep 1 07:29:00 GMT 2006
I am running Cygwin in my Windows 2k3 machine. I am
not able to run the cron service. When i checked with
the following command.
$cygrunsrv -Q cron
I get the following result.
Output of "cygrunsrv -Q cron" command :
Service : cron
Current State : Stopped
Command : /usr/sbin/cron -D
I have also checked with cron_diagnose.sh script. I
get the following message.
Output of "cron_diagnose.sh" script :
This script did not find any errors in your cron
If you are still unable to get cron to work, then try
shutting down the cron service, uninstalling it,
reinstalling it, and restarting it.
The following commands will do that:
$ cygrunsrv --stop cron
$ cygrunsrv --remove cron
$ cygrunsrv --install cron -p /usr/sbin/cron -a -D
(You can also add a -u switch)
$ cygrunsrv --start cron
Also, examine the log file for cron,
information that it might give you about the problem
If none of this fixes the problem, then report your
to email@example.com. Please include a copy of your
('crontab -l') and the output of 'cygcheck -srv >
Please include the generated file 'cygcheck.txt' *as
and NOT in the body of the mail message.
I have also tried Removing and installing cron
service. But, no use. I have attached the file
"cygcheck.txt" which has the output of "cygcheck -srv"
and "cron.txt" which is the job assigned for crontab.
Please help me how to start the cron service in my
Thanks & Regards,
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin