This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygrunsrv pause
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Aug 2008 16:02:30 +0200
- Subject: Re: cygrunsrv pause
- References: <859402.88735.qm@web36202.mail.mud.yahoo.com>
- Reply-to: cygwin at cygwin dot com
On Aug 20 06:41, Unknown wrote:
> Because I want to put the thread in suspend mode, instead of just stopping and restarting. I don't want the cron to start from the beginning.
I'm not sure what the difference is, behaviour-wise, and I'm also not
sure if cron doesn't choke on this (cron is known for problems resulting
from jumps in the current timestamp), but you can simply try to send
SIGSTOP/SIGCONT from an administrative account to the cron process, like
this:
kill -STOP $(cat /var/run/cron.pid)
kill -CONT $(cat /var/run/cron.pid)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/