Re: Blacklisted Shell Script?
Brad Barnett <[email protected]>
| Newsgroups | gmane.user-groups.linux.ottawa.general |
|---|---|
| Message-ID | <[email protected]> |
Dave, Did you upgrade any part of your distro, recently? Things to debug: 1) move the script to another location.. perhaps you can not execute your script from its current dir 2) what is the executable for the script? That is, what is the first line of the script? (aka "#!/bin/bash" ). Did the executable that is listed, move or disappear? 3) put a few debug lines in there. Add an 'echo "BAH"' as the first line, and see if that works. If it does, throw around some more echo lines.. see where the script borks On Thu, 02 Jul 2009 17:53:25 -0400 Dave <[email protected]> wrote: > A few days ago a bash shell script that had been working reliably for > months, suddenly quit working. The script has not been changed. > > I see no error messages either from cron, or from manual invocation of > the script. It's as if I hadn't invoked it. > > I wrote a trivial test script that works both manually, or via cron > (invoked via my crontab entry). But my desired script produces nothing. > > Where do I look to see a hint? Nothing in /var/log/cron or > /var/log/messages suggests any problem. > > Given that a shell script will work as demonstrated by my test script > (both from a terminal or via cron), why did my desired script suddenly > quit working, silently? Has my OS blacklisted it? > > TIA; > Dave > ============== > Technotrivia - Fedora 10 on 2GHz Celeron with one GB RAM. > echo $SHELL = /bin/bash > -- > OCLUG general discussion list > [email protected] > http://oclug.on.ca/mailman/listinfo/oclug -- OCLUG general discussion list [email protected] http://oclug.on.ca/mailman/listinfo/oclug