[Bug 1821566] [NEW] cron ignores whole crontab if one line has error

sles 1821566 at bugs.launchpad.net
Mon Mar 25 06:33:07 UTC 2019


Public bug reported:

Ubuntu 18.04.


Let's create error entry in /etc/crontab:

00 09 * * 4 1 root /usr/local/bin/geoiprenew.sh

restart cron

systemctl restart cron


мар 25 10:29:02 ovpn1 cron[12403]: Error: bad username; while reading /etc/crontab
мар 25 10:29:02 ovpn1 cron[12403]: (*system*) ERROR (Syntax error, this crontab file will be ignored)

Expected behavoir is only line with error is ignired.

Thank you!

** Affects: cron (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  cron ignores whole crontab if one line has error

Status in cron package in Ubuntu:
  New

Bug description:
  Ubuntu 18.04.


  Let's create error entry in /etc/crontab:

  00 09 * * 4 1 root /usr/local/bin/geoiprenew.sh

  restart cron

  systemctl restart cron


  мар 25 10:29:02 ovpn1 cron[12403]: Error: bad username; while reading /etc/crontab
  мар 25 10:29:02 ovpn1 cron[12403]: (*system*) ERROR (Syntax error, this crontab file will be ignored)

  Expected behavoir is only line with error is ignired.

  Thank you!

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



More information about the foundations-bugs mailing list