Comment 4 for bug 700409

Revision history for this message
terry b (tbohaning-gmail) wrote :

Steve,

You're right. When I initially went thru the examples I didn't see anything except the exec command line. I've since found the script function and how to resolve the problem.

I've modified the script as follows:

# cron - regular background program processing daemon
#
# cron is a standard UNIX program that runs user-specified programs at
# periodic scheduled times

description "regular background program processing daemon"

start on runlevel [2345]
stop on runlevel [!2345]

expect fork
respawn

script
        . /etc/default/cron
        exec cron $LSBNAMES $EXTRA_OPTS
end script

This seems to address the problem.