Hi,
until now we are using a /etc/crontab file which has some lines like the
following:
*/10 * * * * root test -x /name/of/the/script && /name/of/the/script
In the past I had 2 ways If I don't want the script running:
- I could remove the 'x' attribute from the (existing) script
and
- I could remove (or not install) the script on the machine.
Now the second way does no longer work.
But if I change the above mentioned crontab line to
*/10 * * * * root if [ -x /name/of/the/script ]; then /name/of/the/script; fi
Then it works again as expected.
Because both lines contain valid shell code I assume this is a bug.
BTW - Changing then SHELL variable in /etc/crontab from /bin/sh to /bin/bash
has no effect.
Cheers, Christian
--
Name: Christian Andretzky | Address: TU Chemnitz, Fakultaet fuer |
Phone: ++49 +371 531 32130 | Elektrotechnik/Informationstechnik |
FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 |
mail: christian.andret...@mb.tu-chemnitz.de | D-09107 Chemnitz |
PGP: public key avaliable via public key server |
In a world without walls and fences, there is no need for windows and gates |
"The Box said 'Windows XP or better'. - So I installed Linux." |
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org