/usr/bin/run-parts from current seems buggy
by Thom1b from LinuxQuestions.org on (#6HSZZ)
Hi,
It seems I have issues with cron mail in current.
With crontab like below, cron should send mail only when jobs exit with error. But it doesn't, no mails are sent.
Code:47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/nullWithout "1> /dev/null" like below, mails are sent, errors or not.
Code:47 * * * * /usr/bin/run-parts /etc/cron.hourlyI have no issue with same jobs and same crontabs on 15.0, mails are sent when there are errors only.
/usr/bin/run-parts are really different on 15.0 and current, so I tried to run 15.0's run-parts on currenti issue is gone, mails are sent only when error.
I didn't investigate more but I'm quite sure run-parts from current is buggy.
Can your confirm the issue please?
It seems I have issues with cron mail in current.
With crontab like below, cron should send mail only when jobs exit with error. But it doesn't, no mails are sent.
Code:47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/nullWithout "1> /dev/null" like below, mails are sent, errors or not.
Code:47 * * * * /usr/bin/run-parts /etc/cron.hourlyI have no issue with same jobs and same crontabs on 15.0, mails are sent when there are errors only.
/usr/bin/run-parts are really different on 15.0 and current, so I tried to run 15.0's run-parts on currenti issue is gone, mails are sent only when error.
I didn't investigate more but I'm quite sure run-parts from current is buggy.
Can your confirm the issue please?