← Back to team overview

touch-packages team mailing list archive

[Bug 872552] Re: Too long line in crontab isn't executed

 

*** This bug is a duplicate of bug 826702 ***
    https://bugs.launchpad.net/bugs/826702

** This bug has been marked a duplicate of bug 826702
   crontab cuts off file names at 100 characters

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/872552

Title:
  Too long line in crontab isn't executed

Status in “cron” package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 11.10 dev with cron 3.0pl1-116ubuntu3. Too long
  entries in a crontab seems to make problems. For example create the
  file /etc/cron.d/test and write in it:

  * * * * * root dash -c '/bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1
  && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 &&
  /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1 && /bin/sleep 1'

  The command should be executed every minute but it doesn't (or maybe
  it is executed and failing immediately). If the last sleep command is
  removed the cronjob is working fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/872552/+subscriptions