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.

** Attachment added: "cron.conf"
   
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/700409/+attachment/1858310/+files/cron.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/700409

Title:
  Upstart does not pass cmd line args to cron

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to