Problem
Running the following command on OpenServer 5.0.5 will not work if the cron pid is greater than 9999
/etc/init.d/cron stop Cause
There is an erroneous double space in /etc/init.d/cron.
Solution
This was fixed in 5.0.6. To work around the the issue in 5.0.5, follow these instructions.
vi /etc/init.d/cronThe line below has the erroneous double space after the first "^"
pid=`su root -c "ps -e" | sed -n -e '/ cron$/s/^ *\([1-9][0-9]*\) .*$/\1/p'` Change as follows, delete one space here v
pid=`su root -c "ps -e" | sed -n -e '/ cron$/s/^ *\([1-9][0-9]*\) .*$/\1/p'`