Package: cron
Version: 3.0pl1-197
While editing the root crontab via `crontab -e`, we wrote a somewhat lengthy 
command but got
crontab: installing new crontab
"/tmp/crontab.3whNKL/crontab":3: command too long
errors in crontab file, can't install.
How long is allowed? The manpages of cron or crontab don't mention it; the 
reader have to dig into the source code (currently in 
https://sources.debian.org/src/cron/3.0pl1-197/debian/patches/fixes/Dont-silently-truncate-commands.patch
 
https://sources.debian.org/src/cron/3.0pl1-197/debian/patches/fixes/Dont-silently-truncate-commands.patch,
 but this is subject to change) to find this out.
Please document the length properly in the manpages of crontab, whichever it 
may be. Additionally, consider replacing the constant upper bound on the 
command length with an upper bound based on the memory available to cron.
Gratefully!
Alma

Reply via email to