cygrunsrv pause

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 20 14:19:00 GMT 2008


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/



More information about the Cygwin mailing list